Pantagruel v0.0.3 Pantagruel.Format View Source
Takes an evaluated Pantagruel program and generates a formatted text representation of it.
Link to this section Summary
Functions
Print an individual expression
Generate a string representation of an evaluated program
Generate a string representation of a parsed program section
Link to this section Types
Link to this section Functions
Print an individual expression.
Link to this function
format_program(parsed)
View Source
format_program(Pantagruel.Parse.t()) :: t()
Generate a string representation of an evaluated program.
Generate a string representation of a parsed program section.