Module timi::frontend
[−]
[src]
Frontend of the interpreter. Tokenization & Parsing is handled here.
Structs
ParseError |
Represents a parse error.
Consists of a |
Point |
represents a position in a file, both in terms of |
Range |
Represents a range in a file from the start point to the end point.
The Range is |
Enums
CoreToken |
Token for the Core language grammar |
ParseErrorKind |
Kinds of Parse errors that occur during tokenization & Parsing. |
Functions
string_to_expr |
Try to convert the given string to a CoreExpr |
string_to_program |
Try to convert the given string to a CoreProgram |
string_to_sc_defn |
Try to convert the given string to a SupercombDefn |