Expand description
AST to IR Lowering Pass
Converts the parsed AST into the AI-facing IR format. This pass:
- Generates unique IDs for all definitions
- Infers types where needed (or uses placeholders)
- Propagates evidentiality through expressions
- Normalizes pipeline operations
Structs§
- Lowering
Context - Lowering context
Functions§
- lower_
source_ file - Lower a complete source file to IR