Module parser

Source
Expand description

§Parser

Parses the input token stream into an AST and performs syntactic analysis. The parsing is accomplished via “top down operator precedence,” also known as Pratt Parsing based off Vaughan Pratt’s 1973 paper “Top Down Operator Precdence”.

Modules§

error
Error
precedence
Token Precedence

Functions§

parse
Exposed function to parse a given input into a ast::Node::Program.