Skip to main content

run_program

Function run_program 

Source
pub fn run_program(program: &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).