[−][src]Module itsy::bytecode
Bytecode generation and execution.
Structs
Heap | A heap holding non-primitive objects, e.g. strings. |
Program | An Itsy bytecode program. |
Stack | A stack holding temporary bytecode operation results and inputs. |
VM | A virtual machine for running Itsy bytecode. |
Writer | Bytecode buffer and writer. Extended from opcodes.rs with the individual opcodes that can be written. |
Enums
VMState | Current state of the vm, checked after each instruction. |
Traits
HeapOp | Trait for generic stack operations. |
StackFp | Trait for stack frame pointer. |
StackOp | Trait for generic stack operations. |
StackOpFp | Trait for generic stack operations relative to the frame pointer. |
Functions
compile | Compiles a resolved program into bytecode. |