Pass Inventory
Current passes that run through the typed pass mechanism (Pass + PassContext).
Rustdoc links use mdBook-relative paths (../../rustdoc/...).
Top-Level Pipeline (execution order)
meta.expand_program- Expand meta constructs into runtime-facing AST.elab.elaborate_program- Elaborate types/templates in AST.hir.lower_program- Lower elaborated AST to HIR.check.check_program- Semantic/type check HIR.mir.lower_program- Lower HIR + checker facts to MIR.codegen.rust.emit_program- Emit Rust source from MIR.codegen.wasm.emit_program- Emit WAT/WASM artifacts from MIR.
Elaboration Subpasses
elab.normalize_runtime_calls_and_spreads- Rewrite...tuplecall args.elab.validate_runtime_call_args- Validate normalized runtime call args.elab.bind_template_call_args- Bind template call args and build specialization key.elab.instantiate_runtime_function- Instantiate/cache concrete runtime template function.