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

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

Parse expressions/declarations and return a syntax tree.

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