Expand description
The parser - transforms a flat Vec<Token> produced by the lexer into a
Vec<Statement> that represents the abstract syntax tree (AST).
ยงPipeline position
source -> Lexer -> [Token] -> Parser -> [Statement] -> Checker -> EvaluatorยงModule layout
parser_logic- the [Parser] struct and its core cursor primitivesexpressions- precedence-climbing expression parserstatements- one sub-module per statement kindutils- shared helpers (type annotation parsing)
Modulesยง
- expressions ๐
- Precedence-climbing expression parser.
- parser_
logic - Core
Parserstruct and its cursor primitives. - statements ๐
- Top-level statement dispatcher and block parser.
- utils ๐