Expand description
Instruction set for the stack-based evaluation VM.
The instruction set has two representations:
Instr: Internal, index-based instructions used by the evaluator. All slot references are absolute stack indices.Instruction: Public,Slot-based instructions for inspection and serialization.
§Stack layout
[params (param_count)]
[constants (const_count)]
[temporaries (temp_count)]
[outputs (result_count)]The evaluator pre-fills params from user input and constants from the compiled expression, then executes instructions to compute temporaries and results.
Enums§
- Builtin
Op - Pre-resolved builtin function operation.
- Instr
- An internal, index-based instruction executed by
super::ExpressionEvaluator. - Instruction
- A public, self-documenting instruction.
- Slot
- A named slot in the evaluator stack.