Skip to main content

Module lattice

Module lattice 

Source
Expand description

Interpreter cone lattice report — what extraction actually did (engines.md §2).

Walks a compiled program and reports its engine mix: which cones formed (members, boundary shape), which nodes stayed on the interpreter, and the lattice headroom per node — P3 classifiability and whether the node has a compiled P2 form (a compiled_u64 op or a slot kit). The headroom column counts the candidates for running P2 closures at cone boundaries: nodes that are P2-capable but not JIT-classifiable run P1 dyn dispatch on the interpreter.

Used by the cone-formation tests (tests/core_with_library.rs).

Structs§

ConeEntry
One fused cone in the compiled program.
LatticeReport
Engine-mix report for one compiled program.
ResidueEntry
One node left on the interpreter.

Functions§

lattice_report
Walk program and report its engine mix.