[][src]Module passerine::compiler::parse

Structs

Parser

Constructs an AST from a token stream. Note that this struct should not be controlled manually, use the parse function instead.

Enums

Prec

We're using a Pratt parser, so this little enum defines different precedence levels. Each successive level is higher, so, for example, * > +.

Functions

parse

Simple function that parses a token stream into an AST. Exposes the functionality of the Parser.