Created by PLY version 3.11 (http://www.dabeaz.com/ply) Grammar Rule 0 S' -> programa Rule 1 programa -> program action_37 id V F action_38 B end program Rule 2 V -> V Tipo Dim doubleColon Rid action_addSymbols action_32 Rule 3 V -> Rule 4 Rid -> id Rule 5 Rid -> Rid coma id Rule 6 Tipo -> integer Rule 7 Tipo -> real Rule 8 Dim -> openBra int action_30 closedBra Rule 9 Dim -> openBra int action_30 closedBra openBra int action_31 closedBra Rule 10 Dim -> Rule 11 F -> F subroutine id action_39 B end subroutine action_40 Rule 12 F -> Rule 13 B -> B S Rule 14 B -> Rule 15 S -> Dimensional equals EA action_8 Rule 16 S -> id parens action_41 Rule 17 S -> read RDimensional Rule 18 S -> print RDimOrString Rule 19 S -> if action_16 Relif ElseOrEmpty end if action_20 Rule 20 S -> do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do Rule 21 S -> do then action_21 B action_22 end do Rule 22 S -> swap Dimensional coma Dimensional Rule 23 S -> exit action_23 Rule 24 S -> comment Rule 25 Dimensional -> id DimensionsOrEmpty action_1 Rule 26 DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen Rule 27 DimensionsOrEmpty -> Rule 28 ComaEAOrEmpty -> coma EA action_setDim2 Rule 29 ComaEAOrEmpty -> Rule 30 RDimensional -> Dimensional action_36 Rule 31 RDimensional -> RDimensional coma Dimensional action_36 Rule 32 RDimOrString -> DimOrString Rule 33 RDimOrString -> RDimOrString coma DimOrString Rule 34 DimOrString -> Dimensional action_33 Rule 35 DimOrString -> string action_34 Rule 36 DimOrString -> endline action_34 Rule 37 Relif -> openParen EL closedParen action_17 then B Rule 38 Relif -> Relif elif action_18 openParen EL closedParen action_17 then B Rule 39 ElseOrEmpty -> else action_19 B Rule 40 ElseOrEmpty -> Rule 41 IntOrEmpty -> coma int action_28 Rule 42 IntOrEmpty -> action_27 Rule 43 EA -> MultDiv Rule 44 EA -> EA SumOrSub action_3 MultDiv action_4 Rule 45 SumOrSub -> plus Rule 46 SumOrSub -> minus Rule 47 MultDiv -> EAParens Rule 48 MultDiv -> MultDiv MDSymbols action_5 EAParens action_6 Rule 49 MDSymbols -> mul Rule 50 MDSymbols -> div Rule 51 EAParens -> EItem Rule 52 EAParens -> openParen EA closedParen Rule 53 EL -> AND Rule 54 EL -> EL or action_10 AND action_9 Rule 55 AND -> Equality Rule 56 AND -> AND and action_12 Equality action_11 Rule 57 Equality -> EItem EQSymbols action_13 EItem action_14 Rule 58 Equality -> openParen EL closedParen Rule 59 Equality -> not EL action_15 Rule 60 EItem -> Dimensional Rule 61 EItem -> int action_2 Rule 62 EItem -> rea action_2_rea Rule 63 EQSymbols -> less Rule 64 EQSymbols -> more Rule 65 EQSymbols -> doubleEquals Rule 66 EQSymbols -> notEquals Rule 67 EQSymbols -> lessEquals Rule 68 EQSymbols -> moreEquals Rule 69 action_addSymbols -> Rule 70 action_1 -> Rule 71 action_2 -> Rule 72 action_2_rea -> Rule 73 action_3 -> Rule 74 action_4 -> Rule 75 action_5 -> Rule 76 action_6 -> Rule 77 action_8 -> Rule 78 action_9 -> Rule 79 action_10 -> Rule 80 action_11 -> Rule 81 action_12 -> Rule 82 action_13 -> Rule 83 action_14 -> Rule 84 action_15 -> Rule 85 action_16 -> Rule 86 action_17 -> Rule 87 action_18 -> Rule 88 action_19 -> Rule 89 action_20 -> Rule 90 action_21 -> Rule 91 action_22 -> Rule 92 action_23 -> Rule 93 action_24 -> Rule 94 action_25 -> Rule 95 action_26 -> Rule 96 action_27 -> Rule 97 action_28 -> Rule 98 action_29 -> Rule 99 action_30 -> Rule 100 action_31 -> Rule 101 action_32 -> Rule 102 action_33 -> Rule 103 action_34 -> Rule 104 action_36 -> Rule 105 action_37 -> Rule 106 action_38 -> Rule 107 action_39 -> Rule 108 action_40 -> Rule 109 action_41 -> Rule 110 action_setDim1 -> Rule 111 action_setDim2 -> Terminals, with rules where they appear and : 56 closedBra : 8 9 9 closedParen : 26 37 38 52 58 coma : 5 20 22 28 31 33 41 comment : 24 div : 50 do : 20 20 21 21 doubleColon : 2 doubleEquals : 65 elif : 38 else : 39 end : 1 11 19 20 21 endline : 36 equals : 15 20 error : exit : 23 id : 1 4 5 11 16 20 25 if : 19 19 int : 8 9 9 41 61 integer : 6 less : 63 lessEquals : 67 minus : 46 more : 64 moreEquals : 68 mul : 49 not : 59 notEquals : 66 openBra : 8 9 9 openParen : 26 37 38 52 58 or : 54 parens : 16 plus : 45 print : 18 program : 1 1 rea : 62 read : 17 real : 7 string : 35 subroutine : 11 11 swap : 22 then : 20 21 37 38 Nonterminals, with rules where they appear AND : 53 54 56 B : 1 11 13 20 21 37 38 39 ComaEAOrEmpty : 26 Dim : 2 DimOrString : 32 33 Dimensional : 15 22 22 30 31 34 60 DimensionsOrEmpty : 25 EA : 15 20 20 26 28 44 52 EAParens : 47 48 EItem : 51 57 57 EL : 37 38 54 58 59 EQSymbols : 57 ElseOrEmpty : 19 Equality : 55 56 F : 1 11 IntOrEmpty : 20 MDSymbols : 48 MultDiv : 43 44 48 RDimOrString : 18 33 RDimensional : 17 31 Relif : 19 38 Rid : 2 5 S : 13 SumOrSub : 44 Tipo : 2 V : 1 2 action_1 : 25 action_10 : 54 action_11 : 56 action_12 : 56 action_13 : 57 action_14 : 57 action_15 : 59 action_16 : 19 action_17 : 37 38 action_18 : 38 action_19 : 39 action_2 : 61 action_20 : 19 action_21 : 21 action_22 : 21 action_23 : 23 action_24 : 20 action_25 : 20 action_26 : 20 action_27 : 42 action_28 : 41 action_29 : 20 action_2_rea : 62 action_3 : 44 action_30 : 8 9 action_31 : 9 action_32 : 2 action_33 : 34 action_34 : 35 36 action_36 : 30 31 action_37 : 1 action_38 : 1 action_39 : 11 action_4 : 44 action_40 : 11 action_41 : 16 action_5 : 48 action_6 : 48 action_8 : 15 action_9 : 54 action_addSymbols : 2 action_setDim1 : 26 action_setDim2 : 28 programa : 0 Parsing method: LALR state 0 (0) S' -> . programa (1) programa -> . program action_37 id V F action_38 B end program program shift and go to state 2 programa shift and go to state 1 state 1 (0) S' -> programa . state 2 (1) programa -> program . action_37 id V F action_38 B end program (105) action_37 -> . id reduce using rule 105 (action_37 -> .) action_37 shift and go to state 3 state 3 (1) programa -> program action_37 . id V F action_38 B end program id shift and go to state 4 state 4 (1) programa -> program action_37 id . V F action_38 B end program (2) V -> . V Tipo Dim doubleColon Rid action_addSymbols action_32 (3) V -> . integer reduce using rule 3 (V -> .) real reduce using rule 3 (V -> .) subroutine reduce using rule 3 (V -> .) end reduce using rule 3 (V -> .) id reduce using rule 3 (V -> .) read reduce using rule 3 (V -> .) print reduce using rule 3 (V -> .) if reduce using rule 3 (V -> .) do reduce using rule 3 (V -> .) swap reduce using rule 3 (V -> .) exit reduce using rule 3 (V -> .) comment reduce using rule 3 (V -> .) V shift and go to state 5 state 5 (1) programa -> program action_37 id V . F action_38 B end program (2) V -> V . Tipo Dim doubleColon Rid action_addSymbols action_32 (11) F -> . F subroutine id action_39 B end subroutine action_40 (12) F -> . (6) Tipo -> . integer (7) Tipo -> . real subroutine reduce using rule 12 (F -> .) end reduce using rule 12 (F -> .) id reduce using rule 12 (F -> .) read reduce using rule 12 (F -> .) print reduce using rule 12 (F -> .) if reduce using rule 12 (F -> .) do reduce using rule 12 (F -> .) swap reduce using rule 12 (F -> .) exit reduce using rule 12 (F -> .) comment reduce using rule 12 (F -> .) integer shift and go to state 8 real shift and go to state 9 F shift and go to state 6 Tipo shift and go to state 7 state 6 (1) programa -> program action_37 id V F . action_38 B end program (11) F -> F . subroutine id action_39 B end subroutine action_40 (106) action_38 -> . subroutine shift and go to state 11 end reduce using rule 106 (action_38 -> .) id reduce using rule 106 (action_38 -> .) read reduce using rule 106 (action_38 -> .) print reduce using rule 106 (action_38 -> .) if reduce using rule 106 (action_38 -> .) do reduce using rule 106 (action_38 -> .) swap reduce using rule 106 (action_38 -> .) exit reduce using rule 106 (action_38 -> .) comment reduce using rule 106 (action_38 -> .) action_38 shift and go to state 10 state 7 (2) V -> V Tipo . Dim doubleColon Rid action_addSymbols action_32 (8) Dim -> . openBra int action_30 closedBra (9) Dim -> . openBra int action_30 closedBra openBra int action_31 closedBra (10) Dim -> . openBra shift and go to state 13 doubleColon reduce using rule 10 (Dim -> .) Dim shift and go to state 12 state 8 (6) Tipo -> integer . openBra reduce using rule 6 (Tipo -> integer .) doubleColon reduce using rule 6 (Tipo -> integer .) state 9 (7) Tipo -> real . openBra reduce using rule 7 (Tipo -> real .) doubleColon reduce using rule 7 (Tipo -> real .) state 10 (1) programa -> program action_37 id V F action_38 . B end program (13) B -> . B S (14) B -> . end reduce using rule 14 (B -> .) id reduce using rule 14 (B -> .) read reduce using rule 14 (B -> .) print reduce using rule 14 (B -> .) if reduce using rule 14 (B -> .) do reduce using rule 14 (B -> .) swap reduce using rule 14 (B -> .) exit reduce using rule 14 (B -> .) comment reduce using rule 14 (B -> .) B shift and go to state 14 state 11 (11) F -> F subroutine . id action_39 B end subroutine action_40 id shift and go to state 15 state 12 (2) V -> V Tipo Dim . doubleColon Rid action_addSymbols action_32 doubleColon shift and go to state 16 state 13 (8) Dim -> openBra . int action_30 closedBra (9) Dim -> openBra . int action_30 closedBra openBra int action_31 closedBra int shift and go to state 17 state 14 (1) programa -> program action_37 id V F action_38 B . end program (13) B -> B . S (15) S -> . Dimensional equals EA action_8 (16) S -> . id parens action_41 (17) S -> . read RDimensional (18) S -> . print RDimOrString (19) S -> . if action_16 Relif ElseOrEmpty end if action_20 (20) S -> . do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do (21) S -> . do then action_21 B action_22 end do (22) S -> . swap Dimensional coma Dimensional (23) S -> . exit action_23 (24) S -> . comment (25) Dimensional -> . id DimensionsOrEmpty action_1 end shift and go to state 19 id shift and go to state 18 read shift and go to state 22 print shift and go to state 23 if shift and go to state 24 do shift and go to state 25 swap shift and go to state 26 exit shift and go to state 27 comment shift and go to state 28 S shift and go to state 20 Dimensional shift and go to state 21 state 15 (11) F -> F subroutine id . action_39 B end subroutine action_40 (107) action_39 -> . end reduce using rule 107 (action_39 -> .) id reduce using rule 107 (action_39 -> .) read reduce using rule 107 (action_39 -> .) print reduce using rule 107 (action_39 -> .) if reduce using rule 107 (action_39 -> .) do reduce using rule 107 (action_39 -> .) swap reduce using rule 107 (action_39 -> .) exit reduce using rule 107 (action_39 -> .) comment reduce using rule 107 (action_39 -> .) action_39 shift and go to state 29 state 16 (2) V -> V Tipo Dim doubleColon . Rid action_addSymbols action_32 (4) Rid -> . id (5) Rid -> . Rid coma id id shift and go to state 31 Rid shift and go to state 30 state 17 (8) Dim -> openBra int . action_30 closedBra (9) Dim -> openBra int . action_30 closedBra openBra int action_31 closedBra (99) action_30 -> . closedBra reduce using rule 99 (action_30 -> .) action_30 shift and go to state 32 state 18 (16) S -> id . parens action_41 (25) Dimensional -> id . DimensionsOrEmpty action_1 (26) DimensionsOrEmpty -> . openParen EA action_setDim1 ComaEAOrEmpty closedParen (27) DimensionsOrEmpty -> . parens shift and go to state 33 openParen shift and go to state 35 equals reduce using rule 27 (DimensionsOrEmpty -> .) DimensionsOrEmpty shift and go to state 34 state 19 (1) programa -> program action_37 id V F action_38 B end . program program shift and go to state 36 state 20 (13) B -> B S . end reduce using rule 13 (B -> B S .) id reduce using rule 13 (B -> B S .) read reduce using rule 13 (B -> B S .) print reduce using rule 13 (B -> B S .) if reduce using rule 13 (B -> B S .) do reduce using rule 13 (B -> B S .) swap reduce using rule 13 (B -> B S .) exit reduce using rule 13 (B -> B S .) comment reduce using rule 13 (B -> B S .) elif reduce using rule 13 (B -> B S .) else reduce using rule 13 (B -> B S .) state 21 (15) S -> Dimensional . equals EA action_8 equals shift and go to state 37 state 22 (17) S -> read . RDimensional (30) RDimensional -> . Dimensional action_36 (31) RDimensional -> . RDimensional coma Dimensional action_36 (25) Dimensional -> . id DimensionsOrEmpty action_1 id shift and go to state 40 RDimensional shift and go to state 38 Dimensional shift and go to state 39 state 23 (18) S -> print . RDimOrString (32) RDimOrString -> . DimOrString (33) RDimOrString -> . RDimOrString coma DimOrString (34) DimOrString -> . Dimensional action_33 (35) DimOrString -> . string action_34 (36) DimOrString -> . endline action_34 (25) Dimensional -> . id DimensionsOrEmpty action_1 string shift and go to state 44 endline shift and go to state 45 id shift and go to state 40 RDimOrString shift and go to state 41 DimOrString shift and go to state 42 Dimensional shift and go to state 43 state 24 (19) S -> if . action_16 Relif ElseOrEmpty end if action_20 (85) action_16 -> . openParen reduce using rule 85 (action_16 -> .) action_16 shift and go to state 46 state 25 (20) S -> do . id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do (21) S -> do . then action_21 B action_22 end do id shift and go to state 47 then shift and go to state 48 state 26 (22) S -> swap . Dimensional coma Dimensional (25) Dimensional -> . id DimensionsOrEmpty action_1 id shift and go to state 40 Dimensional shift and go to state 49 state 27 (23) S -> exit . action_23 (92) action_23 -> . end reduce using rule 92 (action_23 -> .) id reduce using rule 92 (action_23 -> .) read reduce using rule 92 (action_23 -> .) print reduce using rule 92 (action_23 -> .) if reduce using rule 92 (action_23 -> .) do reduce using rule 92 (action_23 -> .) swap reduce using rule 92 (action_23 -> .) exit reduce using rule 92 (action_23 -> .) comment reduce using rule 92 (action_23 -> .) elif reduce using rule 92 (action_23 -> .) else reduce using rule 92 (action_23 -> .) action_23 shift and go to state 50 state 28 (24) S -> comment . end reduce using rule 24 (S -> comment .) id reduce using rule 24 (S -> comment .) read reduce using rule 24 (S -> comment .) print reduce using rule 24 (S -> comment .) if reduce using rule 24 (S -> comment .) do reduce using rule 24 (S -> comment .) swap reduce using rule 24 (S -> comment .) exit reduce using rule 24 (S -> comment .) comment reduce using rule 24 (S -> comment .) elif reduce using rule 24 (S -> comment .) else reduce using rule 24 (S -> comment .) state 29 (11) F -> F subroutine id action_39 . B end subroutine action_40 (13) B -> . B S (14) B -> . end reduce using rule 14 (B -> .) id reduce using rule 14 (B -> .) read reduce using rule 14 (B -> .) print reduce using rule 14 (B -> .) if reduce using rule 14 (B -> .) do reduce using rule 14 (B -> .) swap reduce using rule 14 (B -> .) exit reduce using rule 14 (B -> .) comment reduce using rule 14 (B -> .) B shift and go to state 51 state 30 (2) V -> V Tipo Dim doubleColon Rid . action_addSymbols action_32 (5) Rid -> Rid . coma id (69) action_addSymbols -> . coma shift and go to state 53 integer reduce using rule 69 (action_addSymbols -> .) real reduce using rule 69 (action_addSymbols -> .) subroutine reduce using rule 69 (action_addSymbols -> .) end reduce using rule 69 (action_addSymbols -> .) id reduce using rule 69 (action_addSymbols -> .) read reduce using rule 69 (action_addSymbols -> .) print reduce using rule 69 (action_addSymbols -> .) if reduce using rule 69 (action_addSymbols -> .) do reduce using rule 69 (action_addSymbols -> .) swap reduce using rule 69 (action_addSymbols -> .) exit reduce using rule 69 (action_addSymbols -> .) comment reduce using rule 69 (action_addSymbols -> .) action_addSymbols shift and go to state 52 state 31 (4) Rid -> id . coma reduce using rule 4 (Rid -> id .) integer reduce using rule 4 (Rid -> id .) real reduce using rule 4 (Rid -> id .) subroutine reduce using rule 4 (Rid -> id .) end reduce using rule 4 (Rid -> id .) id reduce using rule 4 (Rid -> id .) read reduce using rule 4 (Rid -> id .) print reduce using rule 4 (Rid -> id .) if reduce using rule 4 (Rid -> id .) do reduce using rule 4 (Rid -> id .) swap reduce using rule 4 (Rid -> id .) exit reduce using rule 4 (Rid -> id .) comment reduce using rule 4 (Rid -> id .) state 32 (8) Dim -> openBra int action_30 . closedBra (9) Dim -> openBra int action_30 . closedBra openBra int action_31 closedBra closedBra shift and go to state 54 state 33 (16) S -> id parens . action_41 (109) action_41 -> . end reduce using rule 109 (action_41 -> .) id reduce using rule 109 (action_41 -> .) read reduce using rule 109 (action_41 -> .) print reduce using rule 109 (action_41 -> .) if reduce using rule 109 (action_41 -> .) do reduce using rule 109 (action_41 -> .) swap reduce using rule 109 (action_41 -> .) exit reduce using rule 109 (action_41 -> .) comment reduce using rule 109 (action_41 -> .) elif reduce using rule 109 (action_41 -> .) else reduce using rule 109 (action_41 -> .) action_41 shift and go to state 55 state 34 (25) Dimensional -> id DimensionsOrEmpty . action_1 (70) action_1 -> . equals reduce using rule 70 (action_1 -> .) coma reduce using rule 70 (action_1 -> .) end reduce using rule 70 (action_1 -> .) id reduce using rule 70 (action_1 -> .) read reduce using rule 70 (action_1 -> .) print reduce using rule 70 (action_1 -> .) if reduce using rule 70 (action_1 -> .) do reduce using rule 70 (action_1 -> .) swap reduce using rule 70 (action_1 -> .) exit reduce using rule 70 (action_1 -> .) comment reduce using rule 70 (action_1 -> .) elif reduce using rule 70 (action_1 -> .) else reduce using rule 70 (action_1 -> .) mul reduce using rule 70 (action_1 -> .) div reduce using rule 70 (action_1 -> .) plus reduce using rule 70 (action_1 -> .) minus reduce using rule 70 (action_1 -> .) closedParen reduce using rule 70 (action_1 -> .) less reduce using rule 70 (action_1 -> .) more reduce using rule 70 (action_1 -> .) doubleEquals reduce using rule 70 (action_1 -> .) notEquals reduce using rule 70 (action_1 -> .) lessEquals reduce using rule 70 (action_1 -> .) moreEquals reduce using rule 70 (action_1 -> .) then reduce using rule 70 (action_1 -> .) and reduce using rule 70 (action_1 -> .) or reduce using rule 70 (action_1 -> .) action_1 shift and go to state 56 state 35 (26) DimensionsOrEmpty -> openParen . EA action_setDim1 ComaEAOrEmpty closedParen (43) EA -> . MultDiv (44) EA -> . EA SumOrSub action_3 MultDiv action_4 (47) MultDiv -> . EAParens (48) MultDiv -> . MultDiv MDSymbols action_5 EAParens action_6 (51) EAParens -> . EItem (52) EAParens -> . openParen EA closedParen (60) EItem -> . Dimensional (61) EItem -> . int action_2 (62) EItem -> . rea action_2_rea (25) Dimensional -> . id DimensionsOrEmpty action_1 openParen shift and go to state 57 int shift and go to state 63 rea shift and go to state 64 id shift and go to state 40 EA shift and go to state 58 MultDiv shift and go to state 59 EAParens shift and go to state 60 EItem shift and go to state 61 Dimensional shift and go to state 62 state 36 (1) programa -> program action_37 id V F action_38 B end program . $end reduce using rule 1 (programa -> program action_37 id V F action_38 B end program .) state 37 (15) S -> Dimensional equals . EA action_8 (43) EA -> . MultDiv (44) EA -> . EA SumOrSub action_3 MultDiv action_4 (47) MultDiv -> . EAParens (48) MultDiv -> . MultDiv MDSymbols action_5 EAParens action_6 (51) EAParens -> . EItem (52) EAParens -> . openParen EA closedParen (60) EItem -> . Dimensional (61) EItem -> . int action_2 (62) EItem -> . rea action_2_rea (25) Dimensional -> . id DimensionsOrEmpty action_1 openParen shift and go to state 57 int shift and go to state 63 rea shift and go to state 64 id shift and go to state 40 Dimensional shift and go to state 62 EA shift and go to state 65 MultDiv shift and go to state 59 EAParens shift and go to state 60 EItem shift and go to state 61 state 38 (17) S -> read RDimensional . (31) RDimensional -> RDimensional . coma Dimensional action_36 end reduce using rule 17 (S -> read RDimensional .) id reduce using rule 17 (S -> read RDimensional .) read reduce using rule 17 (S -> read RDimensional .) print reduce using rule 17 (S -> read RDimensional .) if reduce using rule 17 (S -> read RDimensional .) do reduce using rule 17 (S -> read RDimensional .) swap reduce using rule 17 (S -> read RDimensional .) exit reduce using rule 17 (S -> read RDimensional .) comment reduce using rule 17 (S -> read RDimensional .) elif reduce using rule 17 (S -> read RDimensional .) else reduce using rule 17 (S -> read RDimensional .) coma shift and go to state 66 state 39 (30) RDimensional -> Dimensional . action_36 (104) action_36 -> . coma reduce using rule 104 (action_36 -> .) end reduce using rule 104 (action_36 -> .) id reduce using rule 104 (action_36 -> .) read reduce using rule 104 (action_36 -> .) print reduce using rule 104 (action_36 -> .) if reduce using rule 104 (action_36 -> .) do reduce using rule 104 (action_36 -> .) swap reduce using rule 104 (action_36 -> .) exit reduce using rule 104 (action_36 -> .) comment reduce using rule 104 (action_36 -> .) elif reduce using rule 104 (action_36 -> .) else reduce using rule 104 (action_36 -> .) action_36 shift and go to state 67 state 40 (25) Dimensional -> id . DimensionsOrEmpty action_1 (26) DimensionsOrEmpty -> . openParen EA action_setDim1 ComaEAOrEmpty closedParen (27) DimensionsOrEmpty -> . openParen shift and go to state 35 coma reduce using rule 27 (DimensionsOrEmpty -> .) end reduce using rule 27 (DimensionsOrEmpty -> .) id reduce using rule 27 (DimensionsOrEmpty -> .) read reduce using rule 27 (DimensionsOrEmpty -> .) print reduce using rule 27 (DimensionsOrEmpty -> .) if reduce using rule 27 (DimensionsOrEmpty -> .) do reduce using rule 27 (DimensionsOrEmpty -> .) swap reduce using rule 27 (DimensionsOrEmpty -> .) exit reduce using rule 27 (DimensionsOrEmpty -> .) comment reduce using rule 27 (DimensionsOrEmpty -> .) elif reduce using rule 27 (DimensionsOrEmpty -> .) else reduce using rule 27 (DimensionsOrEmpty -> .) mul reduce using rule 27 (DimensionsOrEmpty -> .) div reduce using rule 27 (DimensionsOrEmpty -> .) plus reduce using rule 27 (DimensionsOrEmpty -> .) minus reduce using rule 27 (DimensionsOrEmpty -> .) closedParen reduce using rule 27 (DimensionsOrEmpty -> .) less reduce using rule 27 (DimensionsOrEmpty -> .) more reduce using rule 27 (DimensionsOrEmpty -> .) doubleEquals reduce using rule 27 (DimensionsOrEmpty -> .) notEquals reduce using rule 27 (DimensionsOrEmpty -> .) lessEquals reduce using rule 27 (DimensionsOrEmpty -> .) moreEquals reduce using rule 27 (DimensionsOrEmpty -> .) then reduce using rule 27 (DimensionsOrEmpty -> .) and reduce using rule 27 (DimensionsOrEmpty -> .) or reduce using rule 27 (DimensionsOrEmpty -> .) DimensionsOrEmpty shift and go to state 34 state 41 (18) S -> print RDimOrString . (33) RDimOrString -> RDimOrString . coma DimOrString end reduce using rule 18 (S -> print RDimOrString .) id reduce using rule 18 (S -> print RDimOrString .) read reduce using rule 18 (S -> print RDimOrString .) print reduce using rule 18 (S -> print RDimOrString .) if reduce using rule 18 (S -> print RDimOrString .) do reduce using rule 18 (S -> print RDimOrString .) swap reduce using rule 18 (S -> print RDimOrString .) exit reduce using rule 18 (S -> print RDimOrString .) comment reduce using rule 18 (S -> print RDimOrString .) elif reduce using rule 18 (S -> print RDimOrString .) else reduce using rule 18 (S -> print RDimOrString .) coma shift and go to state 68 state 42 (32) RDimOrString -> DimOrString . coma reduce using rule 32 (RDimOrString -> DimOrString .) end reduce using rule 32 (RDimOrString -> DimOrString .) id reduce using rule 32 (RDimOrString -> DimOrString .) read reduce using rule 32 (RDimOrString -> DimOrString .) print reduce using rule 32 (RDimOrString -> DimOrString .) if reduce using rule 32 (RDimOrString -> DimOrString .) do reduce using rule 32 (RDimOrString -> DimOrString .) swap reduce using rule 32 (RDimOrString -> DimOrString .) exit reduce using rule 32 (RDimOrString -> DimOrString .) comment reduce using rule 32 (RDimOrString -> DimOrString .) elif reduce using rule 32 (RDimOrString -> DimOrString .) else reduce using rule 32 (RDimOrString -> DimOrString .) state 43 (34) DimOrString -> Dimensional . action_33 (102) action_33 -> . coma reduce using rule 102 (action_33 -> .) end reduce using rule 102 (action_33 -> .) id reduce using rule 102 (action_33 -> .) read reduce using rule 102 (action_33 -> .) print reduce using rule 102 (action_33 -> .) if reduce using rule 102 (action_33 -> .) do reduce using rule 102 (action_33 -> .) swap reduce using rule 102 (action_33 -> .) exit reduce using rule 102 (action_33 -> .) comment reduce using rule 102 (action_33 -> .) elif reduce using rule 102 (action_33 -> .) else reduce using rule 102 (action_33 -> .) action_33 shift and go to state 69 state 44 (35) DimOrString -> string . action_34 (103) action_34 -> . coma reduce using rule 103 (action_34 -> .) end reduce using rule 103 (action_34 -> .) id reduce using rule 103 (action_34 -> .) read reduce using rule 103 (action_34 -> .) print reduce using rule 103 (action_34 -> .) if reduce using rule 103 (action_34 -> .) do reduce using rule 103 (action_34 -> .) swap reduce using rule 103 (action_34 -> .) exit reduce using rule 103 (action_34 -> .) comment reduce using rule 103 (action_34 -> .) elif reduce using rule 103 (action_34 -> .) else reduce using rule 103 (action_34 -> .) action_34 shift and go to state 70 state 45 (36) DimOrString -> endline . action_34 (103) action_34 -> . coma reduce using rule 103 (action_34 -> .) end reduce using rule 103 (action_34 -> .) id reduce using rule 103 (action_34 -> .) read reduce using rule 103 (action_34 -> .) print reduce using rule 103 (action_34 -> .) if reduce using rule 103 (action_34 -> .) do reduce using rule 103 (action_34 -> .) swap reduce using rule 103 (action_34 -> .) exit reduce using rule 103 (action_34 -> .) comment reduce using rule 103 (action_34 -> .) elif reduce using rule 103 (action_34 -> .) else reduce using rule 103 (action_34 -> .) action_34 shift and go to state 71 state 46 (19) S -> if action_16 . Relif ElseOrEmpty end if action_20 (37) Relif -> . openParen EL closedParen action_17 then B (38) Relif -> . Relif elif action_18 openParen EL closedParen action_17 then B openParen shift and go to state 73 Relif shift and go to state 72 state 47 (20) S -> do id . action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do (93) action_24 -> . equals reduce using rule 93 (action_24 -> .) action_24 shift and go to state 74 state 48 (21) S -> do then . action_21 B action_22 end do (90) action_21 -> . id reduce using rule 90 (action_21 -> .) read reduce using rule 90 (action_21 -> .) print reduce using rule 90 (action_21 -> .) if reduce using rule 90 (action_21 -> .) do reduce using rule 90 (action_21 -> .) swap reduce using rule 90 (action_21 -> .) exit reduce using rule 90 (action_21 -> .) comment reduce using rule 90 (action_21 -> .) end reduce using rule 90 (action_21 -> .) action_21 shift and go to state 75 state 49 (22) S -> swap Dimensional . coma Dimensional coma shift and go to state 76 state 50 (23) S -> exit action_23 . end reduce using rule 23 (S -> exit action_23 .) id reduce using rule 23 (S -> exit action_23 .) read reduce using rule 23 (S -> exit action_23 .) print reduce using rule 23 (S -> exit action_23 .) if reduce using rule 23 (S -> exit action_23 .) do reduce using rule 23 (S -> exit action_23 .) swap reduce using rule 23 (S -> exit action_23 .) exit reduce using rule 23 (S -> exit action_23 .) comment reduce using rule 23 (S -> exit action_23 .) elif reduce using rule 23 (S -> exit action_23 .) else reduce using rule 23 (S -> exit action_23 .) state 51 (11) F -> F subroutine id action_39 B . end subroutine action_40 (13) B -> B . S (15) S -> . Dimensional equals EA action_8 (16) S -> . id parens action_41 (17) S -> . read RDimensional (18) S -> . print RDimOrString (19) S -> . if action_16 Relif ElseOrEmpty end if action_20 (20) S -> . do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do (21) S -> . do then action_21 B action_22 end do (22) S -> . swap Dimensional coma Dimensional (23) S -> . exit action_23 (24) S -> . comment (25) Dimensional -> . id DimensionsOrEmpty action_1 end shift and go to state 77 id shift and go to state 18 read shift and go to state 22 print shift and go to state 23 if shift and go to state 24 do shift and go to state 25 swap shift and go to state 26 exit shift and go to state 27 comment shift and go to state 28 S shift and go to state 20 Dimensional shift and go to state 21 state 52 (2) V -> V Tipo Dim doubleColon Rid action_addSymbols . action_32 (101) action_32 -> . integer reduce using rule 101 (action_32 -> .) real reduce using rule 101 (action_32 -> .) subroutine reduce using rule 101 (action_32 -> .) end reduce using rule 101 (action_32 -> .) id reduce using rule 101 (action_32 -> .) read reduce using rule 101 (action_32 -> .) print reduce using rule 101 (action_32 -> .) if reduce using rule 101 (action_32 -> .) do reduce using rule 101 (action_32 -> .) swap reduce using rule 101 (action_32 -> .) exit reduce using rule 101 (action_32 -> .) comment reduce using rule 101 (action_32 -> .) action_32 shift and go to state 78 state 53 (5) Rid -> Rid coma . id id shift and go to state 79 state 54 (8) Dim -> openBra int action_30 closedBra . (9) Dim -> openBra int action_30 closedBra . openBra int action_31 closedBra doubleColon reduce using rule 8 (Dim -> openBra int action_30 closedBra .) openBra shift and go to state 80 state 55 (16) S -> id parens action_41 . end reduce using rule 16 (S -> id parens action_41 .) id reduce using rule 16 (S -> id parens action_41 .) read reduce using rule 16 (S -> id parens action_41 .) print reduce using rule 16 (S -> id parens action_41 .) if reduce using rule 16 (S -> id parens action_41 .) do reduce using rule 16 (S -> id parens action_41 .) swap reduce using rule 16 (S -> id parens action_41 .) exit reduce using rule 16 (S -> id parens action_41 .) comment reduce using rule 16 (S -> id parens action_41 .) elif reduce using rule 16 (S -> id parens action_41 .) else reduce using rule 16 (S -> id parens action_41 .) state 56 (25) Dimensional -> id DimensionsOrEmpty action_1 . equals reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) coma reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) end reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) id reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) read reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) print reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) if reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) do reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) swap reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) exit reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) comment reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) elif reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) else reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) mul reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) div reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) plus reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) minus reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) closedParen reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) less reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) more reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) doubleEquals reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) notEquals reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) lessEquals reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) moreEquals reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) then reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) and reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) or reduce using rule 25 (Dimensional -> id DimensionsOrEmpty action_1 .) state 57 (52) EAParens -> openParen . EA closedParen (43) EA -> . MultDiv (44) EA -> . EA SumOrSub action_3 MultDiv action_4 (47) MultDiv -> . EAParens (48) MultDiv -> . MultDiv MDSymbols action_5 EAParens action_6 (51) EAParens -> . EItem (52) EAParens -> . openParen EA closedParen (60) EItem -> . Dimensional (61) EItem -> . int action_2 (62) EItem -> . rea action_2_rea (25) Dimensional -> . id DimensionsOrEmpty action_1 openParen shift and go to state 57 int shift and go to state 63 rea shift and go to state 64 id shift and go to state 40 EA shift and go to state 81 MultDiv shift and go to state 59 EAParens shift and go to state 60 EItem shift and go to state 61 Dimensional shift and go to state 62 state 58 (26) DimensionsOrEmpty -> openParen EA . action_setDim1 ComaEAOrEmpty closedParen (44) EA -> EA . SumOrSub action_3 MultDiv action_4 (110) action_setDim1 -> . (45) SumOrSub -> . plus (46) SumOrSub -> . minus coma reduce using rule 110 (action_setDim1 -> .) closedParen reduce using rule 110 (action_setDim1 -> .) plus shift and go to state 84 minus shift and go to state 85 action_setDim1 shift and go to state 82 SumOrSub shift and go to state 83 state 59 (43) EA -> MultDiv . (48) MultDiv -> MultDiv . MDSymbols action_5 EAParens action_6 (49) MDSymbols -> . mul (50) MDSymbols -> . div plus reduce using rule 43 (EA -> MultDiv .) minus reduce using rule 43 (EA -> MultDiv .) coma reduce using rule 43 (EA -> MultDiv .) closedParen reduce using rule 43 (EA -> MultDiv .) end reduce using rule 43 (EA -> MultDiv .) id reduce using rule 43 (EA -> MultDiv .) read reduce using rule 43 (EA -> MultDiv .) print reduce using rule 43 (EA -> MultDiv .) if reduce using rule 43 (EA -> MultDiv .) do reduce using rule 43 (EA -> MultDiv .) swap reduce using rule 43 (EA -> MultDiv .) exit reduce using rule 43 (EA -> MultDiv .) comment reduce using rule 43 (EA -> MultDiv .) elif reduce using rule 43 (EA -> MultDiv .) else reduce using rule 43 (EA -> MultDiv .) then reduce using rule 43 (EA -> MultDiv .) mul shift and go to state 87 div shift and go to state 88 MDSymbols shift and go to state 86 state 60 (47) MultDiv -> EAParens . mul reduce using rule 47 (MultDiv -> EAParens .) div reduce using rule 47 (MultDiv -> EAParens .) plus reduce using rule 47 (MultDiv -> EAParens .) minus reduce using rule 47 (MultDiv -> EAParens .) coma reduce using rule 47 (MultDiv -> EAParens .) closedParen reduce using rule 47 (MultDiv -> EAParens .) end reduce using rule 47 (MultDiv -> EAParens .) id reduce using rule 47 (MultDiv -> EAParens .) read reduce using rule 47 (MultDiv -> EAParens .) print reduce using rule 47 (MultDiv -> EAParens .) if reduce using rule 47 (MultDiv -> EAParens .) do reduce using rule 47 (MultDiv -> EAParens .) swap reduce using rule 47 (MultDiv -> EAParens .) exit reduce using rule 47 (MultDiv -> EAParens .) comment reduce using rule 47 (MultDiv -> EAParens .) elif reduce using rule 47 (MultDiv -> EAParens .) else reduce using rule 47 (MultDiv -> EAParens .) then reduce using rule 47 (MultDiv -> EAParens .) state 61 (51) EAParens -> EItem . mul reduce using rule 51 (EAParens -> EItem .) div reduce using rule 51 (EAParens -> EItem .) plus reduce using rule 51 (EAParens -> EItem .) minus reduce using rule 51 (EAParens -> EItem .) coma reduce using rule 51 (EAParens -> EItem .) closedParen reduce using rule 51 (EAParens -> EItem .) end reduce using rule 51 (EAParens -> EItem .) id reduce using rule 51 (EAParens -> EItem .) read reduce using rule 51 (EAParens -> EItem .) print reduce using rule 51 (EAParens -> EItem .) if reduce using rule 51 (EAParens -> EItem .) do reduce using rule 51 (EAParens -> EItem .) swap reduce using rule 51 (EAParens -> EItem .) exit reduce using rule 51 (EAParens -> EItem .) comment reduce using rule 51 (EAParens -> EItem .) elif reduce using rule 51 (EAParens -> EItem .) else reduce using rule 51 (EAParens -> EItem .) then reduce using rule 51 (EAParens -> EItem .) state 62 (60) EItem -> Dimensional . mul reduce using rule 60 (EItem -> Dimensional .) div reduce using rule 60 (EItem -> Dimensional .) plus reduce using rule 60 (EItem -> Dimensional .) minus reduce using rule 60 (EItem -> Dimensional .) coma reduce using rule 60 (EItem -> Dimensional .) closedParen reduce using rule 60 (EItem -> Dimensional .) end reduce using rule 60 (EItem -> Dimensional .) id reduce using rule 60 (EItem -> Dimensional .) read reduce using rule 60 (EItem -> Dimensional .) print reduce using rule 60 (EItem -> Dimensional .) if reduce using rule 60 (EItem -> Dimensional .) do reduce using rule 60 (EItem -> Dimensional .) swap reduce using rule 60 (EItem -> Dimensional .) exit reduce using rule 60 (EItem -> Dimensional .) comment reduce using rule 60 (EItem -> Dimensional .) elif reduce using rule 60 (EItem -> Dimensional .) else reduce using rule 60 (EItem -> Dimensional .) less reduce using rule 60 (EItem -> Dimensional .) more reduce using rule 60 (EItem -> Dimensional .) doubleEquals reduce using rule 60 (EItem -> Dimensional .) notEquals reduce using rule 60 (EItem -> Dimensional .) lessEquals reduce using rule 60 (EItem -> Dimensional .) moreEquals reduce using rule 60 (EItem -> Dimensional .) then reduce using rule 60 (EItem -> Dimensional .) and reduce using rule 60 (EItem -> Dimensional .) or reduce using rule 60 (EItem -> Dimensional .) state 63 (61) EItem -> int . action_2 (71) action_2 -> . mul reduce using rule 71 (action_2 -> .) div reduce using rule 71 (action_2 -> .) plus reduce using rule 71 (action_2 -> .) minus reduce using rule 71 (action_2 -> .) coma reduce using rule 71 (action_2 -> .) closedParen reduce using rule 71 (action_2 -> .) end reduce using rule 71 (action_2 -> .) id reduce using rule 71 (action_2 -> .) read reduce using rule 71 (action_2 -> .) print reduce using rule 71 (action_2 -> .) if reduce using rule 71 (action_2 -> .) do reduce using rule 71 (action_2 -> .) swap reduce using rule 71 (action_2 -> .) exit reduce using rule 71 (action_2 -> .) comment reduce using rule 71 (action_2 -> .) elif reduce using rule 71 (action_2 -> .) else reduce using rule 71 (action_2 -> .) less reduce using rule 71 (action_2 -> .) more reduce using rule 71 (action_2 -> .) doubleEquals reduce using rule 71 (action_2 -> .) notEquals reduce using rule 71 (action_2 -> .) lessEquals reduce using rule 71 (action_2 -> .) moreEquals reduce using rule 71 (action_2 -> .) then reduce using rule 71 (action_2 -> .) and reduce using rule 71 (action_2 -> .) or reduce using rule 71 (action_2 -> .) action_2 shift and go to state 89 state 64 (62) EItem -> rea . action_2_rea (72) action_2_rea -> . mul reduce using rule 72 (action_2_rea -> .) div reduce using rule 72 (action_2_rea -> .) plus reduce using rule 72 (action_2_rea -> .) minus reduce using rule 72 (action_2_rea -> .) coma reduce using rule 72 (action_2_rea -> .) closedParen reduce using rule 72 (action_2_rea -> .) end reduce using rule 72 (action_2_rea -> .) id reduce using rule 72 (action_2_rea -> .) read reduce using rule 72 (action_2_rea -> .) print reduce using rule 72 (action_2_rea -> .) if reduce using rule 72 (action_2_rea -> .) do reduce using rule 72 (action_2_rea -> .) swap reduce using rule 72 (action_2_rea -> .) exit reduce using rule 72 (action_2_rea -> .) comment reduce using rule 72 (action_2_rea -> .) elif reduce using rule 72 (action_2_rea -> .) else reduce using rule 72 (action_2_rea -> .) less reduce using rule 72 (action_2_rea -> .) more reduce using rule 72 (action_2_rea -> .) doubleEquals reduce using rule 72 (action_2_rea -> .) notEquals reduce using rule 72 (action_2_rea -> .) lessEquals reduce using rule 72 (action_2_rea -> .) moreEquals reduce using rule 72 (action_2_rea -> .) then reduce using rule 72 (action_2_rea -> .) and reduce using rule 72 (action_2_rea -> .) or reduce using rule 72 (action_2_rea -> .) action_2_rea shift and go to state 90 state 65 (15) S -> Dimensional equals EA . action_8 (44) EA -> EA . SumOrSub action_3 MultDiv action_4 (77) action_8 -> . (45) SumOrSub -> . plus (46) SumOrSub -> . minus end reduce using rule 77 (action_8 -> .) id reduce using rule 77 (action_8 -> .) read reduce using rule 77 (action_8 -> .) print reduce using rule 77 (action_8 -> .) if reduce using rule 77 (action_8 -> .) do reduce using rule 77 (action_8 -> .) swap reduce using rule 77 (action_8 -> .) exit reduce using rule 77 (action_8 -> .) comment reduce using rule 77 (action_8 -> .) elif reduce using rule 77 (action_8 -> .) else reduce using rule 77 (action_8 -> .) plus shift and go to state 84 minus shift and go to state 85 action_8 shift and go to state 91 SumOrSub shift and go to state 83 state 66 (31) RDimensional -> RDimensional coma . Dimensional action_36 (25) Dimensional -> . id DimensionsOrEmpty action_1 id shift and go to state 40 Dimensional shift and go to state 92 state 67 (30) RDimensional -> Dimensional action_36 . coma reduce using rule 30 (RDimensional -> Dimensional action_36 .) end reduce using rule 30 (RDimensional -> Dimensional action_36 .) id reduce using rule 30 (RDimensional -> Dimensional action_36 .) read reduce using rule 30 (RDimensional -> Dimensional action_36 .) print reduce using rule 30 (RDimensional -> Dimensional action_36 .) if reduce using rule 30 (RDimensional -> Dimensional action_36 .) do reduce using rule 30 (RDimensional -> Dimensional action_36 .) swap reduce using rule 30 (RDimensional -> Dimensional action_36 .) exit reduce using rule 30 (RDimensional -> Dimensional action_36 .) comment reduce using rule 30 (RDimensional -> Dimensional action_36 .) elif reduce using rule 30 (RDimensional -> Dimensional action_36 .) else reduce using rule 30 (RDimensional -> Dimensional action_36 .) state 68 (33) RDimOrString -> RDimOrString coma . DimOrString (34) DimOrString -> . Dimensional action_33 (35) DimOrString -> . string action_34 (36) DimOrString -> . endline action_34 (25) Dimensional -> . id DimensionsOrEmpty action_1 string shift and go to state 44 endline shift and go to state 45 id shift and go to state 40 DimOrString shift and go to state 93 Dimensional shift and go to state 43 state 69 (34) DimOrString -> Dimensional action_33 . coma reduce using rule 34 (DimOrString -> Dimensional action_33 .) end reduce using rule 34 (DimOrString -> Dimensional action_33 .) id reduce using rule 34 (DimOrString -> Dimensional action_33 .) read reduce using rule 34 (DimOrString -> Dimensional action_33 .) print reduce using rule 34 (DimOrString -> Dimensional action_33 .) if reduce using rule 34 (DimOrString -> Dimensional action_33 .) do reduce using rule 34 (DimOrString -> Dimensional action_33 .) swap reduce using rule 34 (DimOrString -> Dimensional action_33 .) exit reduce using rule 34 (DimOrString -> Dimensional action_33 .) comment reduce using rule 34 (DimOrString -> Dimensional action_33 .) elif reduce using rule 34 (DimOrString -> Dimensional action_33 .) else reduce using rule 34 (DimOrString -> Dimensional action_33 .) state 70 (35) DimOrString -> string action_34 . coma reduce using rule 35 (DimOrString -> string action_34 .) end reduce using rule 35 (DimOrString -> string action_34 .) id reduce using rule 35 (DimOrString -> string action_34 .) read reduce using rule 35 (DimOrString -> string action_34 .) print reduce using rule 35 (DimOrString -> string action_34 .) if reduce using rule 35 (DimOrString -> string action_34 .) do reduce using rule 35 (DimOrString -> string action_34 .) swap reduce using rule 35 (DimOrString -> string action_34 .) exit reduce using rule 35 (DimOrString -> string action_34 .) comment reduce using rule 35 (DimOrString -> string action_34 .) elif reduce using rule 35 (DimOrString -> string action_34 .) else reduce using rule 35 (DimOrString -> string action_34 .) state 71 (36) DimOrString -> endline action_34 . coma reduce using rule 36 (DimOrString -> endline action_34 .) end reduce using rule 36 (DimOrString -> endline action_34 .) id reduce using rule 36 (DimOrString -> endline action_34 .) read reduce using rule 36 (DimOrString -> endline action_34 .) print reduce using rule 36 (DimOrString -> endline action_34 .) if reduce using rule 36 (DimOrString -> endline action_34 .) do reduce using rule 36 (DimOrString -> endline action_34 .) swap reduce using rule 36 (DimOrString -> endline action_34 .) exit reduce using rule 36 (DimOrString -> endline action_34 .) comment reduce using rule 36 (DimOrString -> endline action_34 .) elif reduce using rule 36 (DimOrString -> endline action_34 .) else reduce using rule 36 (DimOrString -> endline action_34 .) state 72 (19) S -> if action_16 Relif . ElseOrEmpty end if action_20 (38) Relif -> Relif . elif action_18 openParen EL closedParen action_17 then B (39) ElseOrEmpty -> . else action_19 B (40) ElseOrEmpty -> . elif shift and go to state 95 else shift and go to state 96 end reduce using rule 40 (ElseOrEmpty -> .) ElseOrEmpty shift and go to state 94 state 73 (37) Relif -> openParen . EL closedParen action_17 then B (53) EL -> . AND (54) EL -> . EL or action_10 AND action_9 (55) AND -> . Equality (56) AND -> . AND and action_12 Equality action_11 (57) Equality -> . EItem EQSymbols action_13 EItem action_14 (58) Equality -> . openParen EL closedParen (59) Equality -> . not EL action_15 (60) EItem -> . Dimensional (61) EItem -> . int action_2 (62) EItem -> . rea action_2_rea (25) Dimensional -> . id DimensionsOrEmpty action_1 openParen shift and go to state 97 not shift and go to state 102 int shift and go to state 63 rea shift and go to state 64 id shift and go to state 40 EL shift and go to state 98 AND shift and go to state 99 Equality shift and go to state 100 EItem shift and go to state 101 Dimensional shift and go to state 62 state 74 (20) S -> do id action_24 . equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do equals shift and go to state 103 state 75 (21) S -> do then action_21 . B action_22 end do (13) B -> . B S (14) B -> . id reduce using rule 14 (B -> .) read reduce using rule 14 (B -> .) print reduce using rule 14 (B -> .) if reduce using rule 14 (B -> .) do reduce using rule 14 (B -> .) swap reduce using rule 14 (B -> .) exit reduce using rule 14 (B -> .) comment reduce using rule 14 (B -> .) end reduce using rule 14 (B -> .) B shift and go to state 104 state 76 (22) S -> swap Dimensional coma . Dimensional (25) Dimensional -> . id DimensionsOrEmpty action_1 id shift and go to state 40 Dimensional shift and go to state 105 state 77 (11) F -> F subroutine id action_39 B end . subroutine action_40 subroutine shift and go to state 106 state 78 (2) V -> V Tipo Dim doubleColon Rid action_addSymbols action_32 . integer reduce using rule 2 (V -> V Tipo Dim doubleColon Rid action_addSymbols action_32 .) real reduce using rule 2 (V -> V Tipo Dim doubleColon Rid action_addSymbols action_32 .) subroutine reduce using rule 2 (V -> V Tipo Dim doubleColon Rid action_addSymbols action_32 .) end reduce using rule 2 (V -> V Tipo Dim doubleColon Rid action_addSymbols action_32 .) id reduce using rule 2 (V -> V Tipo Dim doubleColon Rid action_addSymbols action_32 .) read reduce using rule 2 (V -> V Tipo Dim doubleColon Rid action_addSymbols action_32 .) print reduce using rule 2 (V -> V Tipo Dim doubleColon Rid action_addSymbols action_32 .) if reduce using rule 2 (V -> V Tipo Dim doubleColon Rid action_addSymbols action_32 .) do reduce using rule 2 (V -> V Tipo Dim doubleColon Rid action_addSymbols action_32 .) swap reduce using rule 2 (V -> V Tipo Dim doubleColon Rid action_addSymbols action_32 .) exit reduce using rule 2 (V -> V Tipo Dim doubleColon Rid action_addSymbols action_32 .) comment reduce using rule 2 (V -> V Tipo Dim doubleColon Rid action_addSymbols action_32 .) state 79 (5) Rid -> Rid coma id . coma reduce using rule 5 (Rid -> Rid coma id .) integer reduce using rule 5 (Rid -> Rid coma id .) real reduce using rule 5 (Rid -> Rid coma id .) subroutine reduce using rule 5 (Rid -> Rid coma id .) end reduce using rule 5 (Rid -> Rid coma id .) id reduce using rule 5 (Rid -> Rid coma id .) read reduce using rule 5 (Rid -> Rid coma id .) print reduce using rule 5 (Rid -> Rid coma id .) if reduce using rule 5 (Rid -> Rid coma id .) do reduce using rule 5 (Rid -> Rid coma id .) swap reduce using rule 5 (Rid -> Rid coma id .) exit reduce using rule 5 (Rid -> Rid coma id .) comment reduce using rule 5 (Rid -> Rid coma id .) state 80 (9) Dim -> openBra int action_30 closedBra openBra . int action_31 closedBra int shift and go to state 107 state 81 (52) EAParens -> openParen EA . closedParen (44) EA -> EA . SumOrSub action_3 MultDiv action_4 (45) SumOrSub -> . plus (46) SumOrSub -> . minus closedParen shift and go to state 108 plus shift and go to state 84 minus shift and go to state 85 SumOrSub shift and go to state 83 state 82 (26) DimensionsOrEmpty -> openParen EA action_setDim1 . ComaEAOrEmpty closedParen (28) ComaEAOrEmpty -> . coma EA action_setDim2 (29) ComaEAOrEmpty -> . coma shift and go to state 110 closedParen reduce using rule 29 (ComaEAOrEmpty -> .) ComaEAOrEmpty shift and go to state 109 state 83 (44) EA -> EA SumOrSub . action_3 MultDiv action_4 (73) action_3 -> . openParen reduce using rule 73 (action_3 -> .) int reduce using rule 73 (action_3 -> .) rea reduce using rule 73 (action_3 -> .) id reduce using rule 73 (action_3 -> .) action_3 shift and go to state 111 state 84 (45) SumOrSub -> plus . openParen reduce using rule 45 (SumOrSub -> plus .) int reduce using rule 45 (SumOrSub -> plus .) rea reduce using rule 45 (SumOrSub -> plus .) id reduce using rule 45 (SumOrSub -> plus .) state 85 (46) SumOrSub -> minus . openParen reduce using rule 46 (SumOrSub -> minus .) int reduce using rule 46 (SumOrSub -> minus .) rea reduce using rule 46 (SumOrSub -> minus .) id reduce using rule 46 (SumOrSub -> minus .) state 86 (48) MultDiv -> MultDiv MDSymbols . action_5 EAParens action_6 (75) action_5 -> . openParen reduce using rule 75 (action_5 -> .) int reduce using rule 75 (action_5 -> .) rea reduce using rule 75 (action_5 -> .) id reduce using rule 75 (action_5 -> .) action_5 shift and go to state 112 state 87 (49) MDSymbols -> mul . openParen reduce using rule 49 (MDSymbols -> mul .) int reduce using rule 49 (MDSymbols -> mul .) rea reduce using rule 49 (MDSymbols -> mul .) id reduce using rule 49 (MDSymbols -> mul .) state 88 (50) MDSymbols -> div . openParen reduce using rule 50 (MDSymbols -> div .) int reduce using rule 50 (MDSymbols -> div .) rea reduce using rule 50 (MDSymbols -> div .) id reduce using rule 50 (MDSymbols -> div .) state 89 (61) EItem -> int action_2 . mul reduce using rule 61 (EItem -> int action_2 .) div reduce using rule 61 (EItem -> int action_2 .) plus reduce using rule 61 (EItem -> int action_2 .) minus reduce using rule 61 (EItem -> int action_2 .) coma reduce using rule 61 (EItem -> int action_2 .) closedParen reduce using rule 61 (EItem -> int action_2 .) end reduce using rule 61 (EItem -> int action_2 .) id reduce using rule 61 (EItem -> int action_2 .) read reduce using rule 61 (EItem -> int action_2 .) print reduce using rule 61 (EItem -> int action_2 .) if reduce using rule 61 (EItem -> int action_2 .) do reduce using rule 61 (EItem -> int action_2 .) swap reduce using rule 61 (EItem -> int action_2 .) exit reduce using rule 61 (EItem -> int action_2 .) comment reduce using rule 61 (EItem -> int action_2 .) elif reduce using rule 61 (EItem -> int action_2 .) else reduce using rule 61 (EItem -> int action_2 .) less reduce using rule 61 (EItem -> int action_2 .) more reduce using rule 61 (EItem -> int action_2 .) doubleEquals reduce using rule 61 (EItem -> int action_2 .) notEquals reduce using rule 61 (EItem -> int action_2 .) lessEquals reduce using rule 61 (EItem -> int action_2 .) moreEquals reduce using rule 61 (EItem -> int action_2 .) then reduce using rule 61 (EItem -> int action_2 .) and reduce using rule 61 (EItem -> int action_2 .) or reduce using rule 61 (EItem -> int action_2 .) state 90 (62) EItem -> rea action_2_rea . mul reduce using rule 62 (EItem -> rea action_2_rea .) div reduce using rule 62 (EItem -> rea action_2_rea .) plus reduce using rule 62 (EItem -> rea action_2_rea .) minus reduce using rule 62 (EItem -> rea action_2_rea .) coma reduce using rule 62 (EItem -> rea action_2_rea .) closedParen reduce using rule 62 (EItem -> rea action_2_rea .) end reduce using rule 62 (EItem -> rea action_2_rea .) id reduce using rule 62 (EItem -> rea action_2_rea .) read reduce using rule 62 (EItem -> rea action_2_rea .) print reduce using rule 62 (EItem -> rea action_2_rea .) if reduce using rule 62 (EItem -> rea action_2_rea .) do reduce using rule 62 (EItem -> rea action_2_rea .) swap reduce using rule 62 (EItem -> rea action_2_rea .) exit reduce using rule 62 (EItem -> rea action_2_rea .) comment reduce using rule 62 (EItem -> rea action_2_rea .) elif reduce using rule 62 (EItem -> rea action_2_rea .) else reduce using rule 62 (EItem -> rea action_2_rea .) less reduce using rule 62 (EItem -> rea action_2_rea .) more reduce using rule 62 (EItem -> rea action_2_rea .) doubleEquals reduce using rule 62 (EItem -> rea action_2_rea .) notEquals reduce using rule 62 (EItem -> rea action_2_rea .) lessEquals reduce using rule 62 (EItem -> rea action_2_rea .) moreEquals reduce using rule 62 (EItem -> rea action_2_rea .) then reduce using rule 62 (EItem -> rea action_2_rea .) and reduce using rule 62 (EItem -> rea action_2_rea .) or reduce using rule 62 (EItem -> rea action_2_rea .) state 91 (15) S -> Dimensional equals EA action_8 . end reduce using rule 15 (S -> Dimensional equals EA action_8 .) id reduce using rule 15 (S -> Dimensional equals EA action_8 .) read reduce using rule 15 (S -> Dimensional equals EA action_8 .) print reduce using rule 15 (S -> Dimensional equals EA action_8 .) if reduce using rule 15 (S -> Dimensional equals EA action_8 .) do reduce using rule 15 (S -> Dimensional equals EA action_8 .) swap reduce using rule 15 (S -> Dimensional equals EA action_8 .) exit reduce using rule 15 (S -> Dimensional equals EA action_8 .) comment reduce using rule 15 (S -> Dimensional equals EA action_8 .) elif reduce using rule 15 (S -> Dimensional equals EA action_8 .) else reduce using rule 15 (S -> Dimensional equals EA action_8 .) state 92 (31) RDimensional -> RDimensional coma Dimensional . action_36 (104) action_36 -> . coma reduce using rule 104 (action_36 -> .) end reduce using rule 104 (action_36 -> .) id reduce using rule 104 (action_36 -> .) read reduce using rule 104 (action_36 -> .) print reduce using rule 104 (action_36 -> .) if reduce using rule 104 (action_36 -> .) do reduce using rule 104 (action_36 -> .) swap reduce using rule 104 (action_36 -> .) exit reduce using rule 104 (action_36 -> .) comment reduce using rule 104 (action_36 -> .) elif reduce using rule 104 (action_36 -> .) else reduce using rule 104 (action_36 -> .) action_36 shift and go to state 113 state 93 (33) RDimOrString -> RDimOrString coma DimOrString . coma reduce using rule 33 (RDimOrString -> RDimOrString coma DimOrString .) end reduce using rule 33 (RDimOrString -> RDimOrString coma DimOrString .) id reduce using rule 33 (RDimOrString -> RDimOrString coma DimOrString .) read reduce using rule 33 (RDimOrString -> RDimOrString coma DimOrString .) print reduce using rule 33 (RDimOrString -> RDimOrString coma DimOrString .) if reduce using rule 33 (RDimOrString -> RDimOrString coma DimOrString .) do reduce using rule 33 (RDimOrString -> RDimOrString coma DimOrString .) swap reduce using rule 33 (RDimOrString -> RDimOrString coma DimOrString .) exit reduce using rule 33 (RDimOrString -> RDimOrString coma DimOrString .) comment reduce using rule 33 (RDimOrString -> RDimOrString coma DimOrString .) elif reduce using rule 33 (RDimOrString -> RDimOrString coma DimOrString .) else reduce using rule 33 (RDimOrString -> RDimOrString coma DimOrString .) state 94 (19) S -> if action_16 Relif ElseOrEmpty . end if action_20 end shift and go to state 114 state 95 (38) Relif -> Relif elif . action_18 openParen EL closedParen action_17 then B (87) action_18 -> . openParen reduce using rule 87 (action_18 -> .) action_18 shift and go to state 115 state 96 (39) ElseOrEmpty -> else . action_19 B (88) action_19 -> . id reduce using rule 88 (action_19 -> .) read reduce using rule 88 (action_19 -> .) print reduce using rule 88 (action_19 -> .) if reduce using rule 88 (action_19 -> .) do reduce using rule 88 (action_19 -> .) swap reduce using rule 88 (action_19 -> .) exit reduce using rule 88 (action_19 -> .) comment reduce using rule 88 (action_19 -> .) end reduce using rule 88 (action_19 -> .) action_19 shift and go to state 116 state 97 (58) Equality -> openParen . EL closedParen (53) EL -> . AND (54) EL -> . EL or action_10 AND action_9 (55) AND -> . Equality (56) AND -> . AND and action_12 Equality action_11 (57) Equality -> . EItem EQSymbols action_13 EItem action_14 (58) Equality -> . openParen EL closedParen (59) Equality -> . not EL action_15 (60) EItem -> . Dimensional (61) EItem -> . int action_2 (62) EItem -> . rea action_2_rea (25) Dimensional -> . id DimensionsOrEmpty action_1 openParen shift and go to state 97 not shift and go to state 102 int shift and go to state 63 rea shift and go to state 64 id shift and go to state 40 EL shift and go to state 117 AND shift and go to state 99 Equality shift and go to state 100 EItem shift and go to state 101 Dimensional shift and go to state 62 state 98 (37) Relif -> openParen EL . closedParen action_17 then B (54) EL -> EL . or action_10 AND action_9 closedParen shift and go to state 118 or shift and go to state 119 state 99 (53) EL -> AND . (56) AND -> AND . and action_12 Equality action_11 ! shift/reduce conflict for and resolved as shift closedParen reduce using rule 53 (EL -> AND .) or reduce using rule 53 (EL -> AND .) and shift and go to state 120 ! and [ reduce using rule 53 (EL -> AND .) ] state 100 (55) AND -> Equality . and reduce using rule 55 (AND -> Equality .) closedParen reduce using rule 55 (AND -> Equality .) or reduce using rule 55 (AND -> Equality .) state 101 (57) Equality -> EItem . EQSymbols action_13 EItem action_14 (63) EQSymbols -> . less (64) EQSymbols -> . more (65) EQSymbols -> . doubleEquals (66) EQSymbols -> . notEquals (67) EQSymbols -> . lessEquals (68) EQSymbols -> . moreEquals less shift and go to state 122 more shift and go to state 123 doubleEquals shift and go to state 124 notEquals shift and go to state 125 lessEquals shift and go to state 126 moreEquals shift and go to state 127 EQSymbols shift and go to state 121 state 102 (59) Equality -> not . EL action_15 (53) EL -> . AND (54) EL -> . EL or action_10 AND action_9 (55) AND -> . Equality (56) AND -> . AND and action_12 Equality action_11 (57) Equality -> . EItem EQSymbols action_13 EItem action_14 (58) Equality -> . openParen EL closedParen (59) Equality -> . not EL action_15 (60) EItem -> . Dimensional (61) EItem -> . int action_2 (62) EItem -> . rea action_2_rea (25) Dimensional -> . id DimensionsOrEmpty action_1 openParen shift and go to state 97 not shift and go to state 102 int shift and go to state 63 rea shift and go to state 64 id shift and go to state 40 EL shift and go to state 128 AND shift and go to state 99 Equality shift and go to state 100 EItem shift and go to state 101 Dimensional shift and go to state 62 state 103 (20) S -> do id action_24 equals . EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do (43) EA -> . MultDiv (44) EA -> . EA SumOrSub action_3 MultDiv action_4 (47) MultDiv -> . EAParens (48) MultDiv -> . MultDiv MDSymbols action_5 EAParens action_6 (51) EAParens -> . EItem (52) EAParens -> . openParen EA closedParen (60) EItem -> . Dimensional (61) EItem -> . int action_2 (62) EItem -> . rea action_2_rea (25) Dimensional -> . id DimensionsOrEmpty action_1 openParen shift and go to state 57 int shift and go to state 63 rea shift and go to state 64 id shift and go to state 40 EA shift and go to state 129 MultDiv shift and go to state 59 EAParens shift and go to state 60 EItem shift and go to state 61 Dimensional shift and go to state 62 state 104 (21) S -> do then action_21 B . action_22 end do (13) B -> B . S (91) action_22 -> . (15) S -> . Dimensional equals EA action_8 (16) S -> . id parens action_41 (17) S -> . read RDimensional (18) S -> . print RDimOrString (19) S -> . if action_16 Relif ElseOrEmpty end if action_20 (20) S -> . do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do (21) S -> . do then action_21 B action_22 end do (22) S -> . swap Dimensional coma Dimensional (23) S -> . exit action_23 (24) S -> . comment (25) Dimensional -> . id DimensionsOrEmpty action_1 end reduce using rule 91 (action_22 -> .) id shift and go to state 18 read shift and go to state 22 print shift and go to state 23 if shift and go to state 24 do shift and go to state 25 swap shift and go to state 26 exit shift and go to state 27 comment shift and go to state 28 action_22 shift and go to state 130 S shift and go to state 20 Dimensional shift and go to state 21 state 105 (22) S -> swap Dimensional coma Dimensional . end reduce using rule 22 (S -> swap Dimensional coma Dimensional .) id reduce using rule 22 (S -> swap Dimensional coma Dimensional .) read reduce using rule 22 (S -> swap Dimensional coma Dimensional .) print reduce using rule 22 (S -> swap Dimensional coma Dimensional .) if reduce using rule 22 (S -> swap Dimensional coma Dimensional .) do reduce using rule 22 (S -> swap Dimensional coma Dimensional .) swap reduce using rule 22 (S -> swap Dimensional coma Dimensional .) exit reduce using rule 22 (S -> swap Dimensional coma Dimensional .) comment reduce using rule 22 (S -> swap Dimensional coma Dimensional .) elif reduce using rule 22 (S -> swap Dimensional coma Dimensional .) else reduce using rule 22 (S -> swap Dimensional coma Dimensional .) state 106 (11) F -> F subroutine id action_39 B end subroutine . action_40 (108) action_40 -> . subroutine reduce using rule 108 (action_40 -> .) end reduce using rule 108 (action_40 -> .) id reduce using rule 108 (action_40 -> .) read reduce using rule 108 (action_40 -> .) print reduce using rule 108 (action_40 -> .) if reduce using rule 108 (action_40 -> .) do reduce using rule 108 (action_40 -> .) swap reduce using rule 108 (action_40 -> .) exit reduce using rule 108 (action_40 -> .) comment reduce using rule 108 (action_40 -> .) action_40 shift and go to state 131 state 107 (9) Dim -> openBra int action_30 closedBra openBra int . action_31 closedBra (100) action_31 -> . closedBra reduce using rule 100 (action_31 -> .) action_31 shift and go to state 132 state 108 (52) EAParens -> openParen EA closedParen . mul reduce using rule 52 (EAParens -> openParen EA closedParen .) div reduce using rule 52 (EAParens -> openParen EA closedParen .) plus reduce using rule 52 (EAParens -> openParen EA closedParen .) minus reduce using rule 52 (EAParens -> openParen EA closedParen .) coma reduce using rule 52 (EAParens -> openParen EA closedParen .) closedParen reduce using rule 52 (EAParens -> openParen EA closedParen .) end reduce using rule 52 (EAParens -> openParen EA closedParen .) id reduce using rule 52 (EAParens -> openParen EA closedParen .) read reduce using rule 52 (EAParens -> openParen EA closedParen .) print reduce using rule 52 (EAParens -> openParen EA closedParen .) if reduce using rule 52 (EAParens -> openParen EA closedParen .) do reduce using rule 52 (EAParens -> openParen EA closedParen .) swap reduce using rule 52 (EAParens -> openParen EA closedParen .) exit reduce using rule 52 (EAParens -> openParen EA closedParen .) comment reduce using rule 52 (EAParens -> openParen EA closedParen .) elif reduce using rule 52 (EAParens -> openParen EA closedParen .) else reduce using rule 52 (EAParens -> openParen EA closedParen .) then reduce using rule 52 (EAParens -> openParen EA closedParen .) state 109 (26) DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty . closedParen closedParen shift and go to state 133 state 110 (28) ComaEAOrEmpty -> coma . EA action_setDim2 (43) EA -> . MultDiv (44) EA -> . EA SumOrSub action_3 MultDiv action_4 (47) MultDiv -> . EAParens (48) MultDiv -> . MultDiv MDSymbols action_5 EAParens action_6 (51) EAParens -> . EItem (52) EAParens -> . openParen EA closedParen (60) EItem -> . Dimensional (61) EItem -> . int action_2 (62) EItem -> . rea action_2_rea (25) Dimensional -> . id DimensionsOrEmpty action_1 openParen shift and go to state 57 int shift and go to state 63 rea shift and go to state 64 id shift and go to state 40 EA shift and go to state 134 MultDiv shift and go to state 59 EAParens shift and go to state 60 EItem shift and go to state 61 Dimensional shift and go to state 62 state 111 (44) EA -> EA SumOrSub action_3 . MultDiv action_4 (47) MultDiv -> . EAParens (48) MultDiv -> . MultDiv MDSymbols action_5 EAParens action_6 (51) EAParens -> . EItem (52) EAParens -> . openParen EA closedParen (60) EItem -> . Dimensional (61) EItem -> . int action_2 (62) EItem -> . rea action_2_rea (25) Dimensional -> . id DimensionsOrEmpty action_1 openParen shift and go to state 57 int shift and go to state 63 rea shift and go to state 64 id shift and go to state 40 MultDiv shift and go to state 135 EAParens shift and go to state 60 EItem shift and go to state 61 Dimensional shift and go to state 62 state 112 (48) MultDiv -> MultDiv MDSymbols action_5 . EAParens action_6 (51) EAParens -> . EItem (52) EAParens -> . openParen EA closedParen (60) EItem -> . Dimensional (61) EItem -> . int action_2 (62) EItem -> . rea action_2_rea (25) Dimensional -> . id DimensionsOrEmpty action_1 openParen shift and go to state 57 int shift and go to state 63 rea shift and go to state 64 id shift and go to state 40 EAParens shift and go to state 136 EItem shift and go to state 61 Dimensional shift and go to state 62 state 113 (31) RDimensional -> RDimensional coma Dimensional action_36 . coma reduce using rule 31 (RDimensional -> RDimensional coma Dimensional action_36 .) end reduce using rule 31 (RDimensional -> RDimensional coma Dimensional action_36 .) id reduce using rule 31 (RDimensional -> RDimensional coma Dimensional action_36 .) read reduce using rule 31 (RDimensional -> RDimensional coma Dimensional action_36 .) print reduce using rule 31 (RDimensional -> RDimensional coma Dimensional action_36 .) if reduce using rule 31 (RDimensional -> RDimensional coma Dimensional action_36 .) do reduce using rule 31 (RDimensional -> RDimensional coma Dimensional action_36 .) swap reduce using rule 31 (RDimensional -> RDimensional coma Dimensional action_36 .) exit reduce using rule 31 (RDimensional -> RDimensional coma Dimensional action_36 .) comment reduce using rule 31 (RDimensional -> RDimensional coma Dimensional action_36 .) elif reduce using rule 31 (RDimensional -> RDimensional coma Dimensional action_36 .) else reduce using rule 31 (RDimensional -> RDimensional coma Dimensional action_36 .) state 114 (19) S -> if action_16 Relif ElseOrEmpty end . if action_20 if shift and go to state 137 state 115 (38) Relif -> Relif elif action_18 . openParen EL closedParen action_17 then B openParen shift and go to state 138 state 116 (39) ElseOrEmpty -> else action_19 . B (13) B -> . B S (14) B -> . id reduce using rule 14 (B -> .) read reduce using rule 14 (B -> .) print reduce using rule 14 (B -> .) if reduce using rule 14 (B -> .) do reduce using rule 14 (B -> .) swap reduce using rule 14 (B -> .) exit reduce using rule 14 (B -> .) comment reduce using rule 14 (B -> .) end reduce using rule 14 (B -> .) B shift and go to state 139 state 117 (58) Equality -> openParen EL . closedParen (54) EL -> EL . or action_10 AND action_9 closedParen shift and go to state 140 or shift and go to state 119 state 118 (37) Relif -> openParen EL closedParen . action_17 then B (86) action_17 -> . then reduce using rule 86 (action_17 -> .) action_17 shift and go to state 141 state 119 (54) EL -> EL or . action_10 AND action_9 (79) action_10 -> . openParen reduce using rule 79 (action_10 -> .) not reduce using rule 79 (action_10 -> .) int reduce using rule 79 (action_10 -> .) rea reduce using rule 79 (action_10 -> .) id reduce using rule 79 (action_10 -> .) action_10 shift and go to state 142 state 120 (56) AND -> AND and . action_12 Equality action_11 (81) action_12 -> . openParen reduce using rule 81 (action_12 -> .) not reduce using rule 81 (action_12 -> .) int reduce using rule 81 (action_12 -> .) rea reduce using rule 81 (action_12 -> .) id reduce using rule 81 (action_12 -> .) action_12 shift and go to state 143 state 121 (57) Equality -> EItem EQSymbols . action_13 EItem action_14 (82) action_13 -> . int reduce using rule 82 (action_13 -> .) rea reduce using rule 82 (action_13 -> .) id reduce using rule 82 (action_13 -> .) action_13 shift and go to state 144 state 122 (63) EQSymbols -> less . int reduce using rule 63 (EQSymbols -> less .) rea reduce using rule 63 (EQSymbols -> less .) id reduce using rule 63 (EQSymbols -> less .) state 123 (64) EQSymbols -> more . int reduce using rule 64 (EQSymbols -> more .) rea reduce using rule 64 (EQSymbols -> more .) id reduce using rule 64 (EQSymbols -> more .) state 124 (65) EQSymbols -> doubleEquals . int reduce using rule 65 (EQSymbols -> doubleEquals .) rea reduce using rule 65 (EQSymbols -> doubleEquals .) id reduce using rule 65 (EQSymbols -> doubleEquals .) state 125 (66) EQSymbols -> notEquals . int reduce using rule 66 (EQSymbols -> notEquals .) rea reduce using rule 66 (EQSymbols -> notEquals .) id reduce using rule 66 (EQSymbols -> notEquals .) state 126 (67) EQSymbols -> lessEquals . int reduce using rule 67 (EQSymbols -> lessEquals .) rea reduce using rule 67 (EQSymbols -> lessEquals .) id reduce using rule 67 (EQSymbols -> lessEquals .) state 127 (68) EQSymbols -> moreEquals . int reduce using rule 68 (EQSymbols -> moreEquals .) rea reduce using rule 68 (EQSymbols -> moreEquals .) id reduce using rule 68 (EQSymbols -> moreEquals .) state 128 (59) Equality -> not EL . action_15 (54) EL -> EL . or action_10 AND action_9 (84) action_15 -> . ! shift/reduce conflict for or resolved as shift or shift and go to state 119 and reduce using rule 84 (action_15 -> .) closedParen reduce using rule 84 (action_15 -> .) ! or [ reduce using rule 84 (action_15 -> .) ] action_15 shift and go to state 145 state 129 (20) S -> do id action_24 equals EA . action_25 coma EA action_26 IntOrEmpty then B action_29 end do (44) EA -> EA . SumOrSub action_3 MultDiv action_4 (94) action_25 -> . (45) SumOrSub -> . plus (46) SumOrSub -> . minus coma reduce using rule 94 (action_25 -> .) plus shift and go to state 84 minus shift and go to state 85 action_25 shift and go to state 146 SumOrSub shift and go to state 83 state 130 (21) S -> do then action_21 B action_22 . end do end shift and go to state 147 state 131 (11) F -> F subroutine id action_39 B end subroutine action_40 . subroutine reduce using rule 11 (F -> F subroutine id action_39 B end subroutine action_40 .) end reduce using rule 11 (F -> F subroutine id action_39 B end subroutine action_40 .) id reduce using rule 11 (F -> F subroutine id action_39 B end subroutine action_40 .) read reduce using rule 11 (F -> F subroutine id action_39 B end subroutine action_40 .) print reduce using rule 11 (F -> F subroutine id action_39 B end subroutine action_40 .) if reduce using rule 11 (F -> F subroutine id action_39 B end subroutine action_40 .) do reduce using rule 11 (F -> F subroutine id action_39 B end subroutine action_40 .) swap reduce using rule 11 (F -> F subroutine id action_39 B end subroutine action_40 .) exit reduce using rule 11 (F -> F subroutine id action_39 B end subroutine action_40 .) comment reduce using rule 11 (F -> F subroutine id action_39 B end subroutine action_40 .) state 132 (9) Dim -> openBra int action_30 closedBra openBra int action_31 . closedBra closedBra shift and go to state 148 state 133 (26) DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen . equals reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) coma reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) end reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) id reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) read reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) print reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) if reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) do reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) swap reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) exit reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) comment reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) elif reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) else reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) mul reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) div reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) plus reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) minus reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) closedParen reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) less reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) more reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) doubleEquals reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) notEquals reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) lessEquals reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) moreEquals reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) then reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) and reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) or reduce using rule 26 (DimensionsOrEmpty -> openParen EA action_setDim1 ComaEAOrEmpty closedParen .) state 134 (28) ComaEAOrEmpty -> coma EA . action_setDim2 (44) EA -> EA . SumOrSub action_3 MultDiv action_4 (111) action_setDim2 -> . (45) SumOrSub -> . plus (46) SumOrSub -> . minus closedParen reduce using rule 111 (action_setDim2 -> .) plus shift and go to state 84 minus shift and go to state 85 action_setDim2 shift and go to state 149 SumOrSub shift and go to state 83 state 135 (44) EA -> EA SumOrSub action_3 MultDiv . action_4 (48) MultDiv -> MultDiv . MDSymbols action_5 EAParens action_6 (74) action_4 -> . (49) MDSymbols -> . mul (50) MDSymbols -> . div plus reduce using rule 74 (action_4 -> .) minus reduce using rule 74 (action_4 -> .) coma reduce using rule 74 (action_4 -> .) closedParen reduce using rule 74 (action_4 -> .) end reduce using rule 74 (action_4 -> .) id reduce using rule 74 (action_4 -> .) read reduce using rule 74 (action_4 -> .) print reduce using rule 74 (action_4 -> .) if reduce using rule 74 (action_4 -> .) do reduce using rule 74 (action_4 -> .) swap reduce using rule 74 (action_4 -> .) exit reduce using rule 74 (action_4 -> .) comment reduce using rule 74 (action_4 -> .) elif reduce using rule 74 (action_4 -> .) else reduce using rule 74 (action_4 -> .) then reduce using rule 74 (action_4 -> .) mul shift and go to state 87 div shift and go to state 88 action_4 shift and go to state 150 MDSymbols shift and go to state 86 state 136 (48) MultDiv -> MultDiv MDSymbols action_5 EAParens . action_6 (76) action_6 -> . mul reduce using rule 76 (action_6 -> .) div reduce using rule 76 (action_6 -> .) plus reduce using rule 76 (action_6 -> .) minus reduce using rule 76 (action_6 -> .) coma reduce using rule 76 (action_6 -> .) closedParen reduce using rule 76 (action_6 -> .) end reduce using rule 76 (action_6 -> .) id reduce using rule 76 (action_6 -> .) read reduce using rule 76 (action_6 -> .) print reduce using rule 76 (action_6 -> .) if reduce using rule 76 (action_6 -> .) do reduce using rule 76 (action_6 -> .) swap reduce using rule 76 (action_6 -> .) exit reduce using rule 76 (action_6 -> .) comment reduce using rule 76 (action_6 -> .) elif reduce using rule 76 (action_6 -> .) else reduce using rule 76 (action_6 -> .) then reduce using rule 76 (action_6 -> .) action_6 shift and go to state 151 state 137 (19) S -> if action_16 Relif ElseOrEmpty end if . action_20 (89) action_20 -> . end reduce using rule 89 (action_20 -> .) id reduce using rule 89 (action_20 -> .) read reduce using rule 89 (action_20 -> .) print reduce using rule 89 (action_20 -> .) if reduce using rule 89 (action_20 -> .) do reduce using rule 89 (action_20 -> .) swap reduce using rule 89 (action_20 -> .) exit reduce using rule 89 (action_20 -> .) comment reduce using rule 89 (action_20 -> .) elif reduce using rule 89 (action_20 -> .) else reduce using rule 89 (action_20 -> .) action_20 shift and go to state 152 state 138 (38) Relif -> Relif elif action_18 openParen . EL closedParen action_17 then B (53) EL -> . AND (54) EL -> . EL or action_10 AND action_9 (55) AND -> . Equality (56) AND -> . AND and action_12 Equality action_11 (57) Equality -> . EItem EQSymbols action_13 EItem action_14 (58) Equality -> . openParen EL closedParen (59) Equality -> . not EL action_15 (60) EItem -> . Dimensional (61) EItem -> . int action_2 (62) EItem -> . rea action_2_rea (25) Dimensional -> . id DimensionsOrEmpty action_1 openParen shift and go to state 97 not shift and go to state 102 int shift and go to state 63 rea shift and go to state 64 id shift and go to state 40 EL shift and go to state 153 AND shift and go to state 99 Equality shift and go to state 100 EItem shift and go to state 101 Dimensional shift and go to state 62 state 139 (39) ElseOrEmpty -> else action_19 B . (13) B -> B . S (15) S -> . Dimensional equals EA action_8 (16) S -> . id parens action_41 (17) S -> . read RDimensional (18) S -> . print RDimOrString (19) S -> . if action_16 Relif ElseOrEmpty end if action_20 (20) S -> . do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do (21) S -> . do then action_21 B action_22 end do (22) S -> . swap Dimensional coma Dimensional (23) S -> . exit action_23 (24) S -> . comment (25) Dimensional -> . id DimensionsOrEmpty action_1 end reduce using rule 39 (ElseOrEmpty -> else action_19 B .) id shift and go to state 18 read shift and go to state 22 print shift and go to state 23 if shift and go to state 24 do shift and go to state 25 swap shift and go to state 26 exit shift and go to state 27 comment shift and go to state 28 S shift and go to state 20 Dimensional shift and go to state 21 state 140 (58) Equality -> openParen EL closedParen . and reduce using rule 58 (Equality -> openParen EL closedParen .) closedParen reduce using rule 58 (Equality -> openParen EL closedParen .) or reduce using rule 58 (Equality -> openParen EL closedParen .) state 141 (37) Relif -> openParen EL closedParen action_17 . then B then shift and go to state 154 state 142 (54) EL -> EL or action_10 . AND action_9 (55) AND -> . Equality (56) AND -> . AND and action_12 Equality action_11 (57) Equality -> . EItem EQSymbols action_13 EItem action_14 (58) Equality -> . openParen EL closedParen (59) Equality -> . not EL action_15 (60) EItem -> . Dimensional (61) EItem -> . int action_2 (62) EItem -> . rea action_2_rea (25) Dimensional -> . id DimensionsOrEmpty action_1 openParen shift and go to state 97 not shift and go to state 102 int shift and go to state 63 rea shift and go to state 64 id shift and go to state 40 AND shift and go to state 155 Equality shift and go to state 100 EItem shift and go to state 101 Dimensional shift and go to state 62 state 143 (56) AND -> AND and action_12 . Equality action_11 (57) Equality -> . EItem EQSymbols action_13 EItem action_14 (58) Equality -> . openParen EL closedParen (59) Equality -> . not EL action_15 (60) EItem -> . Dimensional (61) EItem -> . int action_2 (62) EItem -> . rea action_2_rea (25) Dimensional -> . id DimensionsOrEmpty action_1 openParen shift and go to state 97 not shift and go to state 102 int shift and go to state 63 rea shift and go to state 64 id shift and go to state 40 Equality shift and go to state 156 EItem shift and go to state 101 Dimensional shift and go to state 62 state 144 (57) Equality -> EItem EQSymbols action_13 . EItem action_14 (60) EItem -> . Dimensional (61) EItem -> . int action_2 (62) EItem -> . rea action_2_rea (25) Dimensional -> . id DimensionsOrEmpty action_1 int shift and go to state 63 rea shift and go to state 64 id shift and go to state 40 EItem shift and go to state 157 Dimensional shift and go to state 62 state 145 (59) Equality -> not EL action_15 . and reduce using rule 59 (Equality -> not EL action_15 .) closedParen reduce using rule 59 (Equality -> not EL action_15 .) or reduce using rule 59 (Equality -> not EL action_15 .) state 146 (20) S -> do id action_24 equals EA action_25 . coma EA action_26 IntOrEmpty then B action_29 end do coma shift and go to state 158 state 147 (21) S -> do then action_21 B action_22 end . do do shift and go to state 159 state 148 (9) Dim -> openBra int action_30 closedBra openBra int action_31 closedBra . doubleColon reduce using rule 9 (Dim -> openBra int action_30 closedBra openBra int action_31 closedBra .) state 149 (28) ComaEAOrEmpty -> coma EA action_setDim2 . closedParen reduce using rule 28 (ComaEAOrEmpty -> coma EA action_setDim2 .) state 150 (44) EA -> EA SumOrSub action_3 MultDiv action_4 . plus reduce using rule 44 (EA -> EA SumOrSub action_3 MultDiv action_4 .) minus reduce using rule 44 (EA -> EA SumOrSub action_3 MultDiv action_4 .) coma reduce using rule 44 (EA -> EA SumOrSub action_3 MultDiv action_4 .) closedParen reduce using rule 44 (EA -> EA SumOrSub action_3 MultDiv action_4 .) end reduce using rule 44 (EA -> EA SumOrSub action_3 MultDiv action_4 .) id reduce using rule 44 (EA -> EA SumOrSub action_3 MultDiv action_4 .) read reduce using rule 44 (EA -> EA SumOrSub action_3 MultDiv action_4 .) print reduce using rule 44 (EA -> EA SumOrSub action_3 MultDiv action_4 .) if reduce using rule 44 (EA -> EA SumOrSub action_3 MultDiv action_4 .) do reduce using rule 44 (EA -> EA SumOrSub action_3 MultDiv action_4 .) swap reduce using rule 44 (EA -> EA SumOrSub action_3 MultDiv action_4 .) exit reduce using rule 44 (EA -> EA SumOrSub action_3 MultDiv action_4 .) comment reduce using rule 44 (EA -> EA SumOrSub action_3 MultDiv action_4 .) elif reduce using rule 44 (EA -> EA SumOrSub action_3 MultDiv action_4 .) else reduce using rule 44 (EA -> EA SumOrSub action_3 MultDiv action_4 .) then reduce using rule 44 (EA -> EA SumOrSub action_3 MultDiv action_4 .) state 151 (48) MultDiv -> MultDiv MDSymbols action_5 EAParens action_6 . mul reduce using rule 48 (MultDiv -> MultDiv MDSymbols action_5 EAParens action_6 .) div reduce using rule 48 (MultDiv -> MultDiv MDSymbols action_5 EAParens action_6 .) plus reduce using rule 48 (MultDiv -> MultDiv MDSymbols action_5 EAParens action_6 .) minus reduce using rule 48 (MultDiv -> MultDiv MDSymbols action_5 EAParens action_6 .) coma reduce using rule 48 (MultDiv -> MultDiv MDSymbols action_5 EAParens action_6 .) closedParen reduce using rule 48 (MultDiv -> MultDiv MDSymbols action_5 EAParens action_6 .) end reduce using rule 48 (MultDiv -> MultDiv MDSymbols action_5 EAParens action_6 .) id reduce using rule 48 (MultDiv -> MultDiv MDSymbols action_5 EAParens action_6 .) read reduce using rule 48 (MultDiv -> MultDiv MDSymbols action_5 EAParens action_6 .) print reduce using rule 48 (MultDiv -> MultDiv MDSymbols action_5 EAParens action_6 .) if reduce using rule 48 (MultDiv -> MultDiv MDSymbols action_5 EAParens action_6 .) do reduce using rule 48 (MultDiv -> MultDiv MDSymbols action_5 EAParens action_6 .) swap reduce using rule 48 (MultDiv -> MultDiv MDSymbols action_5 EAParens action_6 .) exit reduce using rule 48 (MultDiv -> MultDiv MDSymbols action_5 EAParens action_6 .) comment reduce using rule 48 (MultDiv -> MultDiv MDSymbols action_5 EAParens action_6 .) elif reduce using rule 48 (MultDiv -> MultDiv MDSymbols action_5 EAParens action_6 .) else reduce using rule 48 (MultDiv -> MultDiv MDSymbols action_5 EAParens action_6 .) then reduce using rule 48 (MultDiv -> MultDiv MDSymbols action_5 EAParens action_6 .) state 152 (19) S -> if action_16 Relif ElseOrEmpty end if action_20 . end reduce using rule 19 (S -> if action_16 Relif ElseOrEmpty end if action_20 .) id reduce using rule 19 (S -> if action_16 Relif ElseOrEmpty end if action_20 .) read reduce using rule 19 (S -> if action_16 Relif ElseOrEmpty end if action_20 .) print reduce using rule 19 (S -> if action_16 Relif ElseOrEmpty end if action_20 .) if reduce using rule 19 (S -> if action_16 Relif ElseOrEmpty end if action_20 .) do reduce using rule 19 (S -> if action_16 Relif ElseOrEmpty end if action_20 .) swap reduce using rule 19 (S -> if action_16 Relif ElseOrEmpty end if action_20 .) exit reduce using rule 19 (S -> if action_16 Relif ElseOrEmpty end if action_20 .) comment reduce using rule 19 (S -> if action_16 Relif ElseOrEmpty end if action_20 .) elif reduce using rule 19 (S -> if action_16 Relif ElseOrEmpty end if action_20 .) else reduce using rule 19 (S -> if action_16 Relif ElseOrEmpty end if action_20 .) state 153 (38) Relif -> Relif elif action_18 openParen EL . closedParen action_17 then B (54) EL -> EL . or action_10 AND action_9 closedParen shift and go to state 160 or shift and go to state 119 state 154 (37) Relif -> openParen EL closedParen action_17 then . B (13) B -> . B S (14) B -> . id reduce using rule 14 (B -> .) read reduce using rule 14 (B -> .) print reduce using rule 14 (B -> .) if reduce using rule 14 (B -> .) do reduce using rule 14 (B -> .) swap reduce using rule 14 (B -> .) exit reduce using rule 14 (B -> .) comment reduce using rule 14 (B -> .) elif reduce using rule 14 (B -> .) else reduce using rule 14 (B -> .) end reduce using rule 14 (B -> .) B shift and go to state 161 state 155 (54) EL -> EL or action_10 AND . action_9 (56) AND -> AND . and action_12 Equality action_11 (78) action_9 -> . ! shift/reduce conflict for and resolved as shift and shift and go to state 120 closedParen reduce using rule 78 (action_9 -> .) or reduce using rule 78 (action_9 -> .) ! and [ reduce using rule 78 (action_9 -> .) ] action_9 shift and go to state 162 state 156 (56) AND -> AND and action_12 Equality . action_11 (80) action_11 -> . and reduce using rule 80 (action_11 -> .) closedParen reduce using rule 80 (action_11 -> .) or reduce using rule 80 (action_11 -> .) action_11 shift and go to state 163 state 157 (57) Equality -> EItem EQSymbols action_13 EItem . action_14 (83) action_14 -> . and reduce using rule 83 (action_14 -> .) closedParen reduce using rule 83 (action_14 -> .) or reduce using rule 83 (action_14 -> .) action_14 shift and go to state 164 state 158 (20) S -> do id action_24 equals EA action_25 coma . EA action_26 IntOrEmpty then B action_29 end do (43) EA -> . MultDiv (44) EA -> . EA SumOrSub action_3 MultDiv action_4 (47) MultDiv -> . EAParens (48) MultDiv -> . MultDiv MDSymbols action_5 EAParens action_6 (51) EAParens -> . EItem (52) EAParens -> . openParen EA closedParen (60) EItem -> . Dimensional (61) EItem -> . int action_2 (62) EItem -> . rea action_2_rea (25) Dimensional -> . id DimensionsOrEmpty action_1 openParen shift and go to state 57 int shift and go to state 63 rea shift and go to state 64 id shift and go to state 40 EA shift and go to state 165 MultDiv shift and go to state 59 EAParens shift and go to state 60 EItem shift and go to state 61 Dimensional shift and go to state 62 state 159 (21) S -> do then action_21 B action_22 end do . end reduce using rule 21 (S -> do then action_21 B action_22 end do .) id reduce using rule 21 (S -> do then action_21 B action_22 end do .) read reduce using rule 21 (S -> do then action_21 B action_22 end do .) print reduce using rule 21 (S -> do then action_21 B action_22 end do .) if reduce using rule 21 (S -> do then action_21 B action_22 end do .) do reduce using rule 21 (S -> do then action_21 B action_22 end do .) swap reduce using rule 21 (S -> do then action_21 B action_22 end do .) exit reduce using rule 21 (S -> do then action_21 B action_22 end do .) comment reduce using rule 21 (S -> do then action_21 B action_22 end do .) elif reduce using rule 21 (S -> do then action_21 B action_22 end do .) else reduce using rule 21 (S -> do then action_21 B action_22 end do .) state 160 (38) Relif -> Relif elif action_18 openParen EL closedParen . action_17 then B (86) action_17 -> . then reduce using rule 86 (action_17 -> .) action_17 shift and go to state 166 state 161 (37) Relif -> openParen EL closedParen action_17 then B . (13) B -> B . S (15) S -> . Dimensional equals EA action_8 (16) S -> . id parens action_41 (17) S -> . read RDimensional (18) S -> . print RDimOrString (19) S -> . if action_16 Relif ElseOrEmpty end if action_20 (20) S -> . do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do (21) S -> . do then action_21 B action_22 end do (22) S -> . swap Dimensional coma Dimensional (23) S -> . exit action_23 (24) S -> . comment (25) Dimensional -> . id DimensionsOrEmpty action_1 elif reduce using rule 37 (Relif -> openParen EL closedParen action_17 then B .) else reduce using rule 37 (Relif -> openParen EL closedParen action_17 then B .) end reduce using rule 37 (Relif -> openParen EL closedParen action_17 then B .) id shift and go to state 18 read shift and go to state 22 print shift and go to state 23 if shift and go to state 24 do shift and go to state 25 swap shift and go to state 26 exit shift and go to state 27 comment shift and go to state 28 S shift and go to state 20 Dimensional shift and go to state 21 state 162 (54) EL -> EL or action_10 AND action_9 . closedParen reduce using rule 54 (EL -> EL or action_10 AND action_9 .) or reduce using rule 54 (EL -> EL or action_10 AND action_9 .) and reduce using rule 54 (EL -> EL or action_10 AND action_9 .) state 163 (56) AND -> AND and action_12 Equality action_11 . and reduce using rule 56 (AND -> AND and action_12 Equality action_11 .) closedParen reduce using rule 56 (AND -> AND and action_12 Equality action_11 .) or reduce using rule 56 (AND -> AND and action_12 Equality action_11 .) state 164 (57) Equality -> EItem EQSymbols action_13 EItem action_14 . and reduce using rule 57 (Equality -> EItem EQSymbols action_13 EItem action_14 .) closedParen reduce using rule 57 (Equality -> EItem EQSymbols action_13 EItem action_14 .) or reduce using rule 57 (Equality -> EItem EQSymbols action_13 EItem action_14 .) state 165 (20) S -> do id action_24 equals EA action_25 coma EA . action_26 IntOrEmpty then B action_29 end do (44) EA -> EA . SumOrSub action_3 MultDiv action_4 (95) action_26 -> . (45) SumOrSub -> . plus (46) SumOrSub -> . minus coma reduce using rule 95 (action_26 -> .) then reduce using rule 95 (action_26 -> .) plus shift and go to state 84 minus shift and go to state 85 action_26 shift and go to state 167 SumOrSub shift and go to state 83 state 166 (38) Relif -> Relif elif action_18 openParen EL closedParen action_17 . then B then shift and go to state 168 state 167 (20) S -> do id action_24 equals EA action_25 coma EA action_26 . IntOrEmpty then B action_29 end do (41) IntOrEmpty -> . coma int action_28 (42) IntOrEmpty -> . action_27 (96) action_27 -> . coma shift and go to state 169 then reduce using rule 96 (action_27 -> .) IntOrEmpty shift and go to state 170 action_27 shift and go to state 171 state 168 (38) Relif -> Relif elif action_18 openParen EL closedParen action_17 then . B (13) B -> . B S (14) B -> . id reduce using rule 14 (B -> .) read reduce using rule 14 (B -> .) print reduce using rule 14 (B -> .) if reduce using rule 14 (B -> .) do reduce using rule 14 (B -> .) swap reduce using rule 14 (B -> .) exit reduce using rule 14 (B -> .) comment reduce using rule 14 (B -> .) elif reduce using rule 14 (B -> .) else reduce using rule 14 (B -> .) end reduce using rule 14 (B -> .) B shift and go to state 172 state 169 (41) IntOrEmpty -> coma . int action_28 int shift and go to state 173 state 170 (20) S -> do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty . then B action_29 end do then shift and go to state 174 state 171 (42) IntOrEmpty -> action_27 . then reduce using rule 42 (IntOrEmpty -> action_27 .) state 172 (38) Relif -> Relif elif action_18 openParen EL closedParen action_17 then B . (13) B -> B . S (15) S -> . Dimensional equals EA action_8 (16) S -> . id parens action_41 (17) S -> . read RDimensional (18) S -> . print RDimOrString (19) S -> . if action_16 Relif ElseOrEmpty end if action_20 (20) S -> . do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do (21) S -> . do then action_21 B action_22 end do (22) S -> . swap Dimensional coma Dimensional (23) S -> . exit action_23 (24) S -> . comment (25) Dimensional -> . id DimensionsOrEmpty action_1 elif reduce using rule 38 (Relif -> Relif elif action_18 openParen EL closedParen action_17 then B .) else reduce using rule 38 (Relif -> Relif elif action_18 openParen EL closedParen action_17 then B .) end reduce using rule 38 (Relif -> Relif elif action_18 openParen EL closedParen action_17 then B .) id shift and go to state 18 read shift and go to state 22 print shift and go to state 23 if shift and go to state 24 do shift and go to state 25 swap shift and go to state 26 exit shift and go to state 27 comment shift and go to state 28 S shift and go to state 20 Dimensional shift and go to state 21 state 173 (41) IntOrEmpty -> coma int . action_28 (97) action_28 -> . then reduce using rule 97 (action_28 -> .) action_28 shift and go to state 175 state 174 (20) S -> do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then . B action_29 end do (13) B -> . B S (14) B -> . id reduce using rule 14 (B -> .) read reduce using rule 14 (B -> .) print reduce using rule 14 (B -> .) if reduce using rule 14 (B -> .) do reduce using rule 14 (B -> .) swap reduce using rule 14 (B -> .) exit reduce using rule 14 (B -> .) comment reduce using rule 14 (B -> .) end reduce using rule 14 (B -> .) B shift and go to state 176 state 175 (41) IntOrEmpty -> coma int action_28 . then reduce using rule 41 (IntOrEmpty -> coma int action_28 .) state 176 (20) S -> do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B . action_29 end do (13) B -> B . S (98) action_29 -> . (15) S -> . Dimensional equals EA action_8 (16) S -> . id parens action_41 (17) S -> . read RDimensional (18) S -> . print RDimOrString (19) S -> . if action_16 Relif ElseOrEmpty end if action_20 (20) S -> . do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do (21) S -> . do then action_21 B action_22 end do (22) S -> . swap Dimensional coma Dimensional (23) S -> . exit action_23 (24) S -> . comment (25) Dimensional -> . id DimensionsOrEmpty action_1 end reduce using rule 98 (action_29 -> .) id shift and go to state 18 read shift and go to state 22 print shift and go to state 23 if shift and go to state 24 do shift and go to state 25 swap shift and go to state 26 exit shift and go to state 27 comment shift and go to state 28 action_29 shift and go to state 177 S shift and go to state 20 Dimensional shift and go to state 21 state 177 (20) S -> do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 . end do end shift and go to state 178 state 178 (20) S -> do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end . do do shift and go to state 179 state 179 (20) S -> do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do . end reduce using rule 20 (S -> do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do .) id reduce using rule 20 (S -> do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do .) read reduce using rule 20 (S -> do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do .) print reduce using rule 20 (S -> do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do .) if reduce using rule 20 (S -> do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do .) do reduce using rule 20 (S -> do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do .) swap reduce using rule 20 (S -> do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do .) exit reduce using rule 20 (S -> do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do .) comment reduce using rule 20 (S -> do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do .) elif reduce using rule 20 (S -> do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do .) else reduce using rule 20 (S -> do id action_24 equals EA action_25 coma EA action_26 IntOrEmpty then B action_29 end do .) WARNING: WARNING: Conflicts: WARNING: WARNING: shift/reduce conflict for and in state 99 resolved as shift WARNING: shift/reduce conflict for or in state 128 resolved as shift WARNING: shift/reduce conflict for and in state 155 resolved as shift