Function lamcal::parser::parse[][src]

pub fn parse(
    input: impl IntoIterator<Item = char>
) -> Result<Term, ParseError>

Parses the input into a Term.

It returns Ok(Term) when the given characters can be successfully parsed or Err(ParseError) if an error occurs.

The input can be any data structure that can be converted into an Iterator over its chars.