1 0 $accept : expr $end 2 3 1 expr : '(' recur ')' 4 5state 0 6 $accept : . expr $end (0) 7 8 '(' shift 1 9 . error 10 11 expr goto 2 12 13 14state 1 15 expr : '(' . recur ')' (1) 16 17 recur shift 3 18 . error 19 20 21state 2 22 $accept : expr . $end (0) 23 24 $end accept 25 26 27state 3 28 expr : '(' recur . ')' (1) 29 30 ')' shift 4 31 . error 32 33 34state 4 35 expr : '(' recur ')' . (1) 36 37 . reduce 1 38 39 405 terminals, 2 nonterminals 412 grammar rules, 5 states 42