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