Expand description
Code generation for the compiler.
This crate translates AST nodes into bytecode instructions that can be executed by the virtual machine. The compiler performs a single-pass traversal of the AST, emitting stack-based bytecode operations.
Structs§
- Compiler
- Compiler state for generating bytecode from AST nodes.
- Symbol
- A resolved symbol with its scope and storage index.
- Symbols
Table - Compile-time symbols table for tracking variable bindings.
Enums§
- Symbol
Scope - Scope classification for a symbol.