Skip to main content

Crate maat_codegen

Crate maat_codegen 

Source
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.
SymbolsTable
Compile-time symbols table for tracking variable bindings.

Enums§

SymbolScope
Scope classification for a symbol.