Expand description
AST definitions for the T programming language.
Provides types, operators, expressions, statements, and declarations that form the typed abstract syntax tree.
Modules§
- declaration
- Top-level declarations: newtypes, functions, externs, constants.
- expression
- Expressions, statements, blocks, and match arms.
- lint
- Compiler lints — always active, produce errors. Compiler lints — always active, produce errors (not warnings).
- operator
- Binary and unary operator enums.
- resolve
- Central type resolution pass: fills in unresolved types after parsing.
- types
- Type system: primitives, pointers, arrays, tuples, function signatures.
- validate
- AST-level type validation: binary operations, assignments, type constructions.