Skip to main content

to_text

Function to_text 

Source
pub fn to_text(program: &Program) -> String
Expand description

Emit the program as the vihaco fn @main grammar.

The output is accepted by parse_text and round-trips losslessly.