Java Reference
In-Depth Information
FIGURE 3.6 The steps in parsing id+id*id against the LL(1) parsing table in Figure
3.5.
For example, consider parsing the input sentence, id+id*id# . The parser would
go through the states illustrated in Figure 3.6.
a. Initially, the parser begins with a # and E on top of its stack. E represents the goal, the
entity that we wish to parse.
 
Search WWH ::




Custom Search