Skip to main content

Module ir

Module ir 

Source
Expand description

IR-driver: walks a parsed contract.mpir to execute a contract’s constructor and circuits without per-contract codegen.

Modules§

curve
Encoding for Compact’s foreign-field and curve-point types.
descriptor
Descriptor → AlignedValue helpers.
error
index
Pre-built O(1) lookup tables and pre-compiled VM / FAB caches over a MoonIr.
interp
Statement / Expression walker — the runtime interpreter.
state_value
Build a StateValue from the IR’s StateValue JSON tree.
value
Internal value type for expression evaluation.
vm_decode
Decode IR vm-ops JSON into ledger Op<ResultModeGather, InMemoryDB>.
witnesses
Host-supplied witnesses callback.