0 $accept : S $end 1 S : AUFKLAMMER NUM OPERATION NUM ZUKLAMMER 2 OPERATION : ADDITION 3 | SUBTRA 4 | MULTI 5 | DIV state 0 $accept : . S $end (0) AUFKLAMMER shift 1 . error S goto 2 state 1 S : AUFKLAMMER . NUM OPERATION NUM ZUKLAMMER (1) NUM shift 3 . error state 2 $accept : S . $end (0) $end accept state 3 S : AUFKLAMMER NUM . OPERATION NUM ZUKLAMMER (1) ADDITION shift 4 SUBTRA shift 5 MULTI shift 6 DIV shift 7 . error OPERATION goto 8 state 4 OPERATION : ADDITION . (2) . reduce 2 state 5 OPERATION : SUBTRA . (3) . reduce 3 state 6 OPERATION : MULTI . (4) . reduce 4 state 7 OPERATION : DIV . (5) . reduce 5 state 8 S : AUFKLAMMER NUM OPERATION . NUM ZUKLAMMER (1) NUM shift 9 . error state 9 S : AUFKLAMMER NUM OPERATION NUM . ZUKLAMMER (1) ZUKLAMMER shift 10 . error state 10 S : AUFKLAMMER NUM OPERATION NUM ZUKLAMMER . (1) . reduce 1 10 terminals, 3 nonterminals 6 grammar rules, 11 states