Function kalk::parser::parse[][src]

pub fn parse(context: &mut Context, input: &str) -> Result<Vec<Stmt>, CalcError>
Expand description

Parse expressions/declarations and return a syntax tree.

None will be returned if the last statement is a declaration.