Grammar 0 $accept: e $end 1 e: e PLUS e 2 | e TIMES e 3 | '(' e ')' 4 | ID Terminals, with rules where they appear $end (0) 0 '(' (40) 3 ')' (41) 3 error (256) ID (258) 4 PLUS (259) 1 TIMES (260) 2 Nonterminals, with rules where they appear $accept (8) on left: 0 e (9) on left: 1 2 3 4, on right: 0 1 2 3 state 0 0 $accept: . e $end ID shift, and go to state 1 '(' shift, and go to state 2 e go to state 3 state 1 4 e: ID . $default reduce using rule 4 (e) state 2 3 e: '(' . e ')' ID shift, and go to state 1 '(' shift, and go to state 2 e go to state 4 state 3 0 $accept: e . $end 1 e: e . PLUS e 2 | e . TIMES e $end shift, and go to state 5 PLUS shift, and go to state 6 TIMES shift, and go to state 7 state 4 1 e: e . PLUS e 2 | e . TIMES e 3 | '(' e . ')' PLUS shift, and go to state 6 TIMES shift, and go to state 7 ')' shift, and go to state 8 state 5 0 $accept: e $end . $default accept state 6 1 e: e PLUS . e ID shift, and go to state 1 '(' shift, and go to state 2 e go to state 9 state 7 2 e: e TIMES . e ID shift, and go to state 1 '(' shift, and go to state 2 e go to state 10 state 8 3 e: '(' e ')' . $default reduce using rule 3 (e) state 9 1 e: e . PLUS e 1 | e PLUS e . 2 | e . TIMES e TIMES shift, and go to state 7 $default reduce using rule 1 (e) state 10 1 e: e . PLUS e 2 | e . TIMES e 2 | e TIMES e . $default reduce using rule 2 (e)