Skip to main content

Module vm

Module vm 

Source
Expand description

Stack-based virtual machine for vibe-bc-0.1 bytecode.

Executes a compiled Chunk by walking the code segment, maintaining a value stack, and dispatching opcodes. Host capability calls are routed through the Host trait, same as the AST interpreter.

Structs§

Vm
The virtual machine.

Enums§

VmError
VM execution error.