Compilers (CS362 2002F)

Class 11: Parsing Expressions

Back to Ambiguous Grammars. On to Predictive Parsing.

Held Monday, September 23, 2002


Today we consider the traditional grammar for expressions and mechanisms for making that grammar unambiguous.



An Expression Grammar

Ambiguity in the Expression Grammar

Disambiguating the Expression Grammar

Adding Precedence to the Expression Grammar

Adding Associativity to the Expression Grammar

The Final Grammar



Thursday, 29 August 2002


Back to Ambiguous Grammars. On to Predictive Parsing.

Disclaimer: I usually create these pages on the fly, which means that I rarely proofread them and they may contain bad grammar and incorrect details. It also means that I tend to update them regularly (see the history for more details). Feel free to contact me with any suggestions for changes.

This document was generated by Siteweaver on Fri Dec 6 10:38:06 2002.
The source to the document was last modified on Wed Sep 4 10:08:34 2002.
This document may be found at

You may wish to validate this document's HTML ; Valid CSS! ; Check with Bobby

Glimmer Labs: The Grinnell Laboratory for Interactive Multimedia Experimentation & Research