Skip to main content

Module compiler

Module compiler 

Source
Expand description

AST-to-bytecode compiler. AST-to-bytecode compiler.

Walks the rnix typed AST and emits a Chunk of bytecode instructions. The compiler manages local variable resolution via a scope stack and emits appropriate GetLocal/SetLocal instructions.

Structsยง

Compiler
The bytecode compiler.