Expand description
Full Hara compilation surface, kept outside VM-only deployments.
Structs§
- Compile
Error - A compile-time failure with source context.
- Program
- A compiled program: a constant pool plus function prototypes.
Enums§
Functions§
- compile_
bytecode - compile_
halc_ module - Lowers decoded HALC directly into bytecode while preserving its canonical
schema graph in the resulting program. The module’s
nsdeclaration is loader configuration rather than executable code and is omitted here. - compile_
source - Compiles source text into a validated program. Multiple top-level
forms compile as an implicit
do. Without a namespace registry the program must be closed: only the names it declares itself are visible as globals (issue #223). - compile_
source_ with - Compiles against a caller’s namespace registry: registry vars
(std.foundation and anything already interned) are visible to the
two-phase global check, exactly as they will resolve at execution
time through
execute_program_with_globals(issue #223).