Module lamcal::parser[][src]

The parser that transform expressions into a Term.

Structs

CharPosition

Represents a position in a stream of chars.

Hint

A hint how to avoid an error.

ParseError

An error that occurs during parsing of expressions.

Enums

ParseErrorKind

The kind of a parse error.

Token

A token in a lambda expression.

Functions

hint

Constructs a Hint from a type that can be converted into a String.

parse

Parses the input into a Term.

parse_str

Parses a str slice into Term.

parse_tokens

Parses a list of Tokens into a Term.

pos

Constructs a CharPosition from line and column.

tokenize

Converts a stream of chars into a list of Tokens.

tokenize_str

Converts a str slice into a list of Tokens.