1 0 $accept : S $end 2 3 1 S : error 4 5state 0 6 $accept : . S $end (0) 7 8 error shift 1 9 . error 10 11 S goto 2 12 13 14state 1 15 S : error . (1) 16 17 . reduce 1 18 19 20state 2 21 $accept : S . $end (0) 22 23 $end accept 24 25 263 terminals, 2 nonterminals 272 grammar rules, 3 states 28 29grammar parser grammar 30symbol# value# symbol 31 0 0 $end 32 1 256 error 33 2 456 text 34 3 457 $accept 35 4 458 S 36