Expand description
Abstract Syntax Tree for Seq
Minimal AST sufficient for hello-world and basic programs. Will be extended as we add more language features.
Structs§
- Match
Arm - A single arm in a match expression
- Program
- Quotation
Span - Source span for a quotation, supporting multi-line ranges
- Source
Location - Source location for error reporting and tooling
- Span
- Source span for a single token or expression
- Union
Def - A union type definition Example:
- Union
Field - A field in a union variant
Example:
response-chan: Int - Union
Variant - A variant in a union type
Example:
Get { response-chan: Int } - WordDef