Skip to main content

Module bytecode

Module bytecode 

Source
Expand description

Bytecode instruction set and chunk structure for the JIT compiler.

Defines a flat, stack-based bytecode IR that the compiler emits and the VM executes.

Structs§

Chunk
A compiled chunk of bytecode with its constant pool.
FunctionTemplate
A stored function template — raw pointers to AST nodes captured at compile time.
Instruction
A single bytecode instruction with optional operands.

Enums§

OpCode
Bytecode opcodes for the stack-based VM.