Skip to main content

compile_program

Function compile_program 

Source
pub fn compile_program(
    vals: &[Value],
) -> Result<(Rc<Closure>, Vec<Rc<Function>>), SemaError>
Expand description

Compile a sequence of Value ASTs through the full pipeline and produce the entry closure + function table ready for VM execution.