Skip to main content

Module vm

Module vm 

Source
Expand description

Stack-based bytecode virtual machine.

Executes the bytecode emitted by the compiler. Uses a flat instruction dispatch loop instead of recursive AST walking, which eliminates per-node function call overhead and improves cache locality.

Structs§

Vm
The bytecode virtual machine.

Enums§

VmResult
Result of VM execution.