Grammar 0 $accept: expr $end 1 expr: X PLUS X Terminals, with rules where they appear $end (0) 0 error (256) X (258) 1 PLUS (259) 1 Nonterminals, with rules where they appear $accept (5) on left: 0 expr (6) on left: 1, on right: 0 state 0 0 $accept: . expr $end X shift, and go to state 1 expr go to state 2 state 1 1 expr: X . PLUS X PLUS shift, and go to state 3 state 2 0 $accept: expr . $end $end shift, and go to state 4 state 3 1 expr: X PLUS . X X shift, and go to state 5 state 4 0 $accept: expr $end . $default accept state 5 1 expr: X PLUS X . $default reduce using rule 1 (expr)