Skip to main content

run_program

Function run_program 

Source
pub fn run_program(program: Arc<Program>) -> DogeResult<()>
Expand description

Run a whole loaded program to completion: initialize every module, then execute the entry file’s top-level statements. Used to run a .doge file through the interpreter (the parity path beside doge build). Takes the program by Arc so a pack.zoom pup can rebuild an interpreter over it.