Compilers (CS362 2004S)

Class 14: Parsing Expressions

Back to Ambiguous Grammars. On to Predictive Parsing (1).

Held: Friday, 20 February 2004

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

Related Pages:



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

Back to Ambiguous Grammars. On to Predictive Parsing (1).

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 Wed May 5 11:47:02 2004.
The source to the document was last modified on Tue Jan 20 23:06:45 2004.
This document may be found at

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

Samuel A. Rebelsky,