Expand description
Abstract Syntax Tree (AST) node definitions.
§Pipeline position
source -> Lexer -> [Token] -> Parser -> [Statement] -> Checker -> Evaluator§Module layout
nodes-ExpressionandExpressionKind: the expression ASTstatements-Statement,StatementKind, [TypeAnnotation], [Param]
Modules§
- arena
- Generic index-based arena for AST nodes.
- nodes
- Expression AST nodes.
- statements
- Statement AST nodes, type annotations, and parameter definitions.
Structs§
- Ast
- Owns every
Expressionallocated during a single parse/resolve/eval session.StatementstaysBox-owned for now - this migrates the leaf/expression side first, on its own, before statements follow.