Skip to main content

compile_core_modules_from_source

Function compile_core_modules_from_source 

Source
pub fn compile_core_modules_from_source() -> Result<BytecodeProgram>
Expand description

Compile core stdlib from source (parse + compile). Used as fallback and for tests.

Each module is compiled independently (preserving its own scope for builtins and intrinsics), then the bytecodes are merged via merge_append.