Parser Specifications (Abbreviated)

Students are to implement a recursive descent parser. They do this through the following.

EBNF, LL(1) Grammars, and LL(1) Table Construction

Students refresh their knowledge of EBNF and context-free grammars. They then learn about LL(1) grammars, the construction of LL(1) tables by way of First, Follow, and Predict set calculations, and how to resolve LL(1) table conflicts. They create their own LL(1) table for microPascal, but are then given a correct version for comparison and use in constructing the parser.

Parser Construction

From the LL(1) table teams are to construct a recursive descent parser for microPascal based on this table as follows.