SSC 1, 2010/2011 - Parsing

This course covers writing simple predictive parsers by hand in Java. We translate grammar rules to recursive methods and to classes using the Composite Pattern.

For weeks 7 and 8, there is a formative exercise on predictive parsing.

Some code examples:

Grammars and parsing are also covered in Models of Computation in a very abstract form, push-down automata. In this module, we cover writing simple parsers by hand.