[][src]Function libslide::evaluate

pub fn evaluate(
    stmt_list: StmtList,
    ctxt: &ProgramContext
) -> Result<EvaluationResult, Box<dyn Error>>

Evaluates a list of statements to as simplified a form as possible for each. The evaluation may be partial, as some values (like variables) may be unknown.