Function umbra_lang::run[][src]

pub fn run<'a>(
    scriptname: &str,
    script: &str,
    env: &'a Env<'a>,
    pos: Option<Pos>,
    printout: (usize, bool)
) -> FnReturn
Expand description

Compiles the script then executes it in the given environment.

Debug output can be toggled with printout whose first element will be sent to compile and whose second element will determine whether or not to print the value of each top-level expression in the script.