Compilers (CS362 2001S)

Class 15: Shift-Reduce Parsing

Back to Predictive Parsing, Continued. On to Shift-Reduce Parsing, Continued.

Held Friday, February 23, 2001

Summary

Today we consider an alternate form of parsing, shift-reduce parsing. Shift-reduce parsing can be applied to many more grammars than can predicitve parsing.

Notes

Overview

Building a recursive descent parser, revisited

Problems with Predictive Parse Tables

Left-recursive grammars

Left Factoring

Alternative Techniques

Shift-Reduce Parsing

 

History

Monday, 22 January 2001

Friday, 23 February 2001

 

Back to Predictive Parsing, Continued. On to Shift-Reduce Parsing, Continued.

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

This page was generated by Siteweaver on Mon Apr 30 10:51:56 2001.
This page may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS362/2001S/outline.15.html.
You may validate this page's HTML.
The source was last modified Mon Feb 26 10:15:42 2001.