Java Reference
In-Depth Information
FIGURE 3.7 The Action and Goto tables for the grammar in (3.31) (blank implies error).
Consider the steps for parsing
id+id*id
. Initially, the parser is in state 0, so a 0 is
pushed onto the stack.
Stack
Input
Action
0
id+id*id#
Search WWH ::
Custom Search