Skip to main content

Module lowering

Module lowering 

Source
Expand description

MIR lowering: AST → MIR.

Converts Shape AST function bodies into MIR basic blocks. This is the bridge between parsing and borrow analysis.

Structs§

MirBuilder
Builder for constructing a MIR function from AST.

Functions§

lower_function
Lower a function body (list of statements) into MIR.