Chapter 4:Syntax Analysis

Parse table for the grammar

Blank entries are error states. For example E cannot derive a string starting with '+'

A predictive parsing table for the grammar in the previous slide is shown. In the table, the blank entries denote the error states; non-blanks indicate a production with which to expand the top nonterminal on the stack.