0 $accept : %entry% $end 1 grammar : declarations PERCENTPERCENT rules trailer 2 trailer : EOF 3 | PERCENTPERCENT 4 declarations : 5 | declarations declaration 6 declaration : HEADER 7 | TOKEN optional_ocamltype terminals 8 | START nonterminals 9 | TYPE OCAMLTYPE symbols 10 | START OCAMLTYPE nonterminals 11 | priority_keyword symbols 12 | PARAMETER OCAMLTYPE 13 optional_ocamltype : 14 | OCAMLTYPE 15 priority_keyword : LEFT 16 | RIGHT 17 | NONASSOC 18 symbols : 19 | symbols optional_comma symbol 20 symbol : LID 21 | UID 22 optional_comma : 23 | COMMA 24 terminals : 25 | terminals optional_comma UID 26 nonterminals : 27 | nonterminals LID 28 rules : 29 | rules rule 30 rule : flags symbol optional_formal_parameters COLON optional_bar production_group production_groups 31 flags : 32 | PUBLIC 33 | INLINE 34 | PUBLIC INLINE 35 | INLINE PUBLIC 36 optional_formal_parameters : 37 | LPAREN formal_parameters RPAREN 38 formal_parameters : symbol 39 | symbol COMMA formal_parameters 40 optional_actual_parameters : 41 | LPAREN actual_parameters RPAREN 42 actual_parameters : actual_parameter 43 | actual_parameter COMMA actual_parameters 44 actual_parameter : symbol optional_actual_parameters optional_modifier 45 optional_bar : 46 | BAR 47 optional_modifier : 48 | modifier 49 modifier : QUESTION 50 | PLUS 51 | STAR 52 production_groups : 53 | production_groups BAR production_group 54 production_group : productions ACTION optional_precedence 55 optional_precedence : 56 | PREC symbol 57 productions : production 58 | production bar_productions 59 bar_productions : BAR production 60 | BAR production bar_productions 61 production : producers optional_precedence 62 producers : 63 | producers producer 64 producer : actual_parameter 65 | LID EQUAL actual_parameter 66 %entry% : '\001' grammar state 0 $accept : . %entry% $end (0) '\001' shift 1 . error %entry% goto 2 state 1 %entry% : '\001' . grammar (66) declarations : . (4) . reduce 4 grammar goto 3 declarations goto 4 state 2 $accept : %entry% . $end (0) $end accept state 3 %entry% : '\001' grammar . (66) . reduce 66 state 4 grammar : declarations . PERCENTPERCENT rules trailer (1) declarations : declarations . declaration (5) TOKEN shift 5 TYPE shift 6 LEFT shift 7 RIGHT shift 8 NONASSOC shift 9 START shift 10 PARAMETER shift 11 HEADER shift 12 PERCENTPERCENT shift 13 . error declaration goto 14 priority_keyword goto 15 state 5 declaration : TOKEN . optional_ocamltype terminals (7) optional_ocamltype : . (13) OCAMLTYPE shift 16 TOKEN reduce 13 TYPE reduce 13 LEFT reduce 13 RIGHT reduce 13 NONASSOC reduce 13 START reduce 13 COMMA reduce 13 PARAMETER reduce 13 UID reduce 13 HEADER reduce 13 PERCENTPERCENT reduce 13 optional_ocamltype goto 17 state 6 declaration : TYPE . OCAMLTYPE symbols (9) OCAMLTYPE shift 18 . error state 7 priority_keyword : LEFT . (15) . reduce 15 state 8 priority_keyword : RIGHT . (16) . reduce 16 state 9 priority_keyword : NONASSOC . (17) . reduce 17 state 10 declaration : START . nonterminals (8) declaration : START . OCAMLTYPE nonterminals (10) nonterminals : . (26) OCAMLTYPE shift 19 TOKEN reduce 26 TYPE reduce 26 LEFT reduce 26 RIGHT reduce 26 NONASSOC reduce 26 START reduce 26 PARAMETER reduce 26 LID reduce 26 HEADER reduce 26 PERCENTPERCENT reduce 26 nonterminals goto 20 state 11 declaration : PARAMETER . OCAMLTYPE (12) OCAMLTYPE shift 21 . error state 12 declaration : HEADER . (6) . reduce 6 state 13 grammar : declarations PERCENTPERCENT . rules trailer (1) rules : . (28) . reduce 28 rules goto 22 state 14 declarations : declarations declaration . (5) . reduce 5 state 15 declaration : priority_keyword . symbols (11) symbols : . (18) . reduce 18 symbols goto 23 state 16 optional_ocamltype : OCAMLTYPE . (14) . reduce 14 state 17 declaration : TOKEN optional_ocamltype . terminals (7) terminals : . (24) . reduce 24 terminals goto 24 state 18 declaration : TYPE OCAMLTYPE . symbols (9) symbols : . (18) . reduce 18 symbols goto 25 state 19 declaration : START OCAMLTYPE . nonterminals (10) nonterminals : . (26) . reduce 26 nonterminals goto 26 state 20 declaration : START nonterminals . (8) nonterminals : nonterminals . LID (27) LID shift 27 TOKEN reduce 8 TYPE reduce 8 LEFT reduce 8 RIGHT reduce 8 NONASSOC reduce 8 START reduce 8 PARAMETER reduce 8 HEADER reduce 8 PERCENTPERCENT reduce 8 state 21 declaration : PARAMETER OCAMLTYPE . (12) . reduce 12 state 22 grammar : declarations PERCENTPERCENT rules . trailer (1) rules : rules . rule (29) flags : . (31) PUBLIC shift 28 EOF shift 29 INLINE shift 30 PERCENTPERCENT shift 31 LID reduce 31 UID reduce 31 trailer goto 32 rule goto 33 flags goto 34 state 23 declaration : priority_keyword symbols . (11) symbols : symbols . optional_comma symbol (19) optional_comma : . (22) COMMA shift 35 TOKEN reduce 11 TYPE reduce 11 LEFT reduce 11 RIGHT reduce 11 NONASSOC reduce 11 START reduce 11 PARAMETER reduce 11 LID reduce 22 UID reduce 22 HEADER reduce 11 PERCENTPERCENT reduce 11 optional_comma goto 36 state 24 declaration : TOKEN optional_ocamltype terminals . (7) terminals : terminals . optional_comma UID (25) optional_comma : . (22) COMMA shift 35 TOKEN reduce 7 TYPE reduce 7 LEFT reduce 7 RIGHT reduce 7 NONASSOC reduce 7 START reduce 7 PARAMETER reduce 7 UID reduce 22 HEADER reduce 7 PERCENTPERCENT reduce 7 optional_comma goto 37 state 25 declaration : TYPE OCAMLTYPE symbols . (9) symbols : symbols . optional_comma symbol (19) optional_comma : . (22) COMMA shift 35 TOKEN reduce 9 TYPE reduce 9 LEFT reduce 9 RIGHT reduce 9 NONASSOC reduce 9 START reduce 9 PARAMETER reduce 9 LID reduce 22 UID reduce 22 HEADER reduce 9 PERCENTPERCENT reduce 9 optional_comma goto 36 state 26 declaration : START OCAMLTYPE nonterminals . (10) nonterminals : nonterminals . LID (27) LID shift 27 TOKEN reduce 10 TYPE reduce 10 LEFT reduce 10 RIGHT reduce 10 NONASSOC reduce 10 START reduce 10 PARAMETER reduce 10 HEADER reduce 10 PERCENTPERCENT reduce 10 state 27 nonterminals : nonterminals LID . (27) . reduce 27 state 28 flags : PUBLIC . (32) flags : PUBLIC . INLINE (34) INLINE shift 38 LID reduce 32 UID reduce 32 state 29 trailer : EOF . (2) . reduce 2 state 30 flags : INLINE . (33) flags : INLINE . PUBLIC (35) PUBLIC shift 39 LID reduce 33 UID reduce 33 state 31 trailer : PERCENTPERCENT . (3) . reduce 3 state 32 grammar : declarations PERCENTPERCENT rules trailer . (1) . reduce 1 state 33 rules : rules rule . (29) . reduce 29 state 34 rule : flags . symbol optional_formal_parameters COLON optional_bar production_group production_groups (30) LID shift 40 UID shift 41 . error symbol goto 42 state 35 optional_comma : COMMA . (23) . reduce 23 state 36 symbols : symbols optional_comma . symbol (19) LID shift 40 UID shift 41 . error symbol goto 43 state 37 terminals : terminals optional_comma . UID (25) UID shift 44 . error state 38 flags : PUBLIC INLINE . (34) . reduce 34 state 39 flags : INLINE PUBLIC . (35) . reduce 35 state 40 symbol : LID . (20) . reduce 20 state 41 symbol : UID . (21) . reduce 21 state 42 rule : flags symbol . optional_formal_parameters COLON optional_bar production_group production_groups (30) optional_formal_parameters : . (36) LPAREN shift 45 COLON reduce 36 optional_formal_parameters goto 46 state 43 symbols : symbols optional_comma symbol . (19) . reduce 19 state 44 terminals : terminals optional_comma UID . (25) . reduce 25 state 45 optional_formal_parameters : LPAREN . formal_parameters RPAREN (37) LID shift 40 UID shift 41 . error symbol goto 47 formal_parameters goto 48 state 46 rule : flags symbol optional_formal_parameters . COLON optional_bar production_group production_groups (30) COLON shift 49 . error state 47 formal_parameters : symbol . (38) formal_parameters : symbol . COMMA formal_parameters (39) COMMA shift 50 RPAREN reduce 38 state 48 optional_formal_parameters : LPAREN formal_parameters . RPAREN (37) RPAREN shift 51 . error state 49 rule : flags symbol optional_formal_parameters COLON . optional_bar production_group production_groups (30) optional_bar : . (45) BAR shift 52 PREC reduce 45 LID reduce 45 UID reduce 45 ACTION reduce 45 optional_bar goto 53 state 50 formal_parameters : symbol COMMA . formal_parameters (39) LID shift 40 UID shift 41 . error symbol goto 47 formal_parameters goto 54 state 51 optional_formal_parameters : LPAREN formal_parameters RPAREN . (37) . reduce 37 state 52 optional_bar : BAR . (46) . reduce 46 state 53 rule : flags symbol optional_formal_parameters COLON optional_bar . production_group production_groups (30) producers : . (62) . reduce 62 production_group goto 55 productions goto 56 production goto 57 producers goto 58 state 54 formal_parameters : symbol COMMA formal_parameters . (39) . reduce 39 state 55 rule : flags symbol optional_formal_parameters COLON optional_bar production_group . production_groups (30) production_groups : . (52) . reduce 52 production_groups goto 59 state 56 production_group : productions . ACTION optional_precedence (54) ACTION shift 60 . error state 57 productions : production . (57) productions : production . bar_productions (58) BAR shift 61 ACTION reduce 57 bar_productions goto 62 state 58 production : producers . optional_precedence (61) producers : producers . producer (63) optional_precedence : . (55) PREC shift 63 LID shift 64 UID shift 41 BAR reduce 55 ACTION reduce 55 symbol goto 65 actual_parameter goto 66 optional_precedence goto 67 producer goto 68 state 59 rule : flags symbol optional_formal_parameters COLON optional_bar production_group production_groups . (30) production_groups : production_groups . BAR production_group (53) BAR shift 69 PUBLIC reduce 30 EOF reduce 30 INLINE reduce 30 LID reduce 30 UID reduce 30 PERCENTPERCENT reduce 30 state 60 production_group : productions ACTION . optional_precedence (54) optional_precedence : . (55) PREC shift 63 PUBLIC reduce 55 BAR reduce 55 EOF reduce 55 INLINE reduce 55 LID reduce 55 UID reduce 55 PERCENTPERCENT reduce 55 optional_precedence goto 70 state 61 bar_productions : BAR . production (59) bar_productions : BAR . production bar_productions (60) producers : . (62) . reduce 62 production goto 71 producers goto 58 state 62 productions : production bar_productions . (58) . reduce 58 state 63 optional_precedence : PREC . symbol (56) LID shift 40 UID shift 41 . error symbol goto 72 state 64 symbol : LID . (20) producer : LID . EQUAL actual_parameter (65) EQUAL shift 73 PREC reduce 20 BAR reduce 20 LPAREN reduce 20 QUESTION reduce 20 STAR reduce 20 PLUS reduce 20 LID reduce 20 UID reduce 20 ACTION reduce 20 state 65 actual_parameter : symbol . optional_actual_parameters optional_modifier (44) optional_actual_parameters : . (40) LPAREN shift 74 PREC reduce 40 BAR reduce 40 RPAREN reduce 40 COMMA reduce 40 QUESTION reduce 40 STAR reduce 40 PLUS reduce 40 LID reduce 40 UID reduce 40 ACTION reduce 40 optional_actual_parameters goto 75 state 66 producer : actual_parameter . (64) . reduce 64 state 67 production : producers optional_precedence . (61) . reduce 61 state 68 producers : producers producer . (63) . reduce 63 state 69 production_groups : production_groups BAR . production_group (53) producers : . (62) . reduce 62 production_group goto 76 productions goto 56 production goto 57 producers goto 58 state 70 production_group : productions ACTION optional_precedence . (54) . reduce 54 state 71 bar_productions : BAR production . (59) bar_productions : BAR production . bar_productions (60) BAR shift 61 ACTION reduce 59 bar_productions goto 77 state 72 optional_precedence : PREC symbol . (56) . reduce 56 state 73 producer : LID EQUAL . actual_parameter (65) LID shift 40 UID shift 41 . error symbol goto 65 actual_parameter goto 78 state 74 optional_actual_parameters : LPAREN . actual_parameters RPAREN (41) LID shift 40 UID shift 41 . error symbol goto 65 actual_parameters goto 79 actual_parameter goto 80 state 75 actual_parameter : symbol optional_actual_parameters . optional_modifier (44) optional_modifier : . (47) QUESTION shift 81 STAR shift 82 PLUS shift 83 PREC reduce 47 BAR reduce 47 RPAREN reduce 47 COMMA reduce 47 LID reduce 47 UID reduce 47 ACTION reduce 47 optional_modifier goto 84 modifier goto 85 state 76 production_groups : production_groups BAR production_group . (53) . reduce 53 state 77 bar_productions : BAR production bar_productions . (60) . reduce 60 state 78 producer : LID EQUAL actual_parameter . (65) . reduce 65 state 79 optional_actual_parameters : LPAREN actual_parameters . RPAREN (41) RPAREN shift 86 . error state 80 actual_parameters : actual_parameter . (42) actual_parameters : actual_parameter . COMMA actual_parameters (43) COMMA shift 87 RPAREN reduce 42 state 81 modifier : QUESTION . (49) . reduce 49 state 82 modifier : STAR . (51) . reduce 51 state 83 modifier : PLUS . (50) . reduce 50 state 84 actual_parameter : symbol optional_actual_parameters optional_modifier . (44) . reduce 44 state 85 optional_modifier : modifier . (48) . reduce 48 state 86 optional_actual_parameters : LPAREN actual_parameters RPAREN . (41) . reduce 41 state 87 actual_parameters : actual_parameter COMMA . actual_parameters (43) LID shift 40 UID shift 41 . error symbol goto 65 actual_parameters goto 88 actual_parameter goto 80 state 88 actual_parameters : actual_parameter COMMA actual_parameters . (43) . reduce 43 30 terminals, 32 nonterminals 67 grammar rules, 89 states