Advertisement
Guest User

Untitled

a guest
Jan 21st, 2014
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.96 KB | None | 0 0
  1. 2 reduce/reduce conflicts
  2. 2 shift/reduce conflicts
  3.  
  4. error: state 75: reduce/reduce conflict between rule 46 and rule 5 on GT
  5. error: state 75: reduce/reduce conflict between rule 46 and rule 5 on COMMA
  6. error: state 75: shift/reduce conflict (shift LT, reduce by rule 46)
  7. error: state 175: shift/reduce conflict (shift ELSE, reduce by rule 59)
  8.  
  9. state 0:
  10.  
  11. program : . declarations
  12.  
  13. ID shift 7
  14. FUN shift 6
  15. VAR shift 5
  16.  
  17. ty goto 4
  18. varDecl goto 3
  19. functionDecl goto 2
  20. declarations goto 1
  21. program goto 208
  22.  
  23. . reduce by rule 94
  24.  
  25.  
  26. state 1:
  27.  
  28. program : declarations . (reduce by rule 95)
  29.  
  30.  
  31.  
  32. . reduce by rule 95
  33.  
  34.  
  35. state 2:
  36.  
  37. declarations : functionDecl . declarations
  38.  
  39. ID shift 7
  40. FUN shift 6
  41. VAR shift 5
  42.  
  43. ty goto 4
  44. varDecl goto 3
  45. functionDecl goto 2
  46. declarations goto 8
  47.  
  48. . reduce by rule 94
  49.  
  50.  
  51. state 3:
  52.  
  53. declarations : varDecl . SEMICOLON declarations
  54.  
  55. SEMICOLON shift 9
  56.  
  57.  
  58. . error
  59.  
  60.  
  61. state 4:
  62.  
  63. varDecl : ty . ID ASSIGN exp
  64. varDecl : ty . ID
  65.  
  66. ID shift 10
  67.  
  68.  
  69. . error
  70.  
  71.  
  72. state 5:
  73.  
  74. varDecl : VAR . ID ASSIGN exp
  75.  
  76. ID shift 11
  77.  
  78.  
  79. . error
  80.  
  81.  
  82. state 6:
  83.  
  84. ty : FUN . LPAREN typeList RPAREN ARROW ty
  85. functionDecl : FUN . ID tyvars LPAREN declList RPAREN ARROW ty compoundStat
  86. functionDecl : FUN . ID LPAREN declList RPAREN ARROW ty compoundStat
  87.  
  88. ID shift 13
  89. LPAREN shift 12
  90.  
  91.  
  92. . error
  93.  
  94.  
  95. state 7:
  96.  
  97. ty : ID . tyargs
  98. ty : ID . (reduce by rule 5)
  99.  
  100. LT shift 15
  101.  
  102. tyargs goto 14
  103.  
  104. . reduce by rule 5
  105.  
  106.  
  107. state 8:
  108.  
  109. declarations : functionDecl declarations . (reduce by rule 93)
  110.  
  111.  
  112.  
  113. . reduce by rule 93
  114.  
  115.  
  116. state 9:
  117.  
  118. declarations : varDecl SEMICOLON . declarations
  119.  
  120. ID shift 7
  121. FUN shift 6
  122. VAR shift 5
  123.  
  124. ty goto 4
  125. varDecl goto 3
  126. functionDecl goto 2
  127. declarations goto 16
  128.  
  129. . reduce by rule 94
  130.  
  131.  
  132. state 10:
  133.  
  134. varDecl : ty ID . ASSIGN exp
  135. varDecl : ty ID . (reduce by rule 51)
  136.  
  137. ASSIGN shift 17
  138.  
  139.  
  140. . reduce by rule 51
  141.  
  142.  
  143. state 11:
  144.  
  145. varDecl : VAR ID . ASSIGN exp
  146.  
  147. ASSIGN shift 18
  148.  
  149.  
  150. . error
  151.  
  152.  
  153. state 12:
  154.  
  155. ty : FUN LPAREN . typeList RPAREN ARROW ty
  156.  
  157. ID shift 7
  158. FUN shift 22
  159.  
  160. ty goto 21
  161. typeList goto 20
  162. typeList' goto 19
  163.  
  164. . reduce by rule 8
  165.  
  166.  
  167. state 13:
  168.  
  169. functionDecl : FUN ID . tyvars LPAREN declList RPAREN ARROW ty compoundStat
  170. functionDecl : FUN ID . LPAREN declList RPAREN ARROW ty compoundStat
  171.  
  172. LPAREN shift 25
  173. LT shift 24
  174.  
  175. tyvars goto 23
  176.  
  177. . error
  178.  
  179.  
  180. state 14:
  181.  
  182. ty : ID tyargs . (reduce by rule 4)
  183.  
  184.  
  185.  
  186. . reduce by rule 4
  187.  
  188.  
  189. state 15:
  190.  
  191. tyargs : LT . typeList' GT
  192.  
  193. ID shift 7
  194. FUN shift 22
  195.  
  196. ty goto 21
  197. typeList' goto 26
  198.  
  199. . error
  200.  
  201.  
  202. state 16:
  203.  
  204. declarations : varDecl SEMICOLON declarations . (reduce by rule 92)
  205.  
  206.  
  207.  
  208. . reduce by rule 92
  209.  
  210.  
  211. state 17:
  212.  
  213. varDecl : ty ID ASSIGN . exp
  214.  
  215. ID shift 44
  216. INT shift 43
  217. STRING shift 42
  218. FLOAT shift 41
  219. BOOL shift 40
  220. LPAREN shift 39
  221. MINUS shift 38
  222. BANG shift 37
  223. PLUSPLUS shift 36
  224. MINUSMINUS shift 35
  225.  
  226. const goto 34
  227. exp goto 33
  228. assignExp goto 32
  229. callExp goto 31
  230. boolExp goto 30
  231. opExp goto 29
  232. primaryExp goto 28
  233. lambdaExp goto 27
  234.  
  235. . error
  236.  
  237.  
  238. state 18:
  239.  
  240. varDecl : VAR ID ASSIGN . exp
  241.  
  242. ID shift 44
  243. INT shift 43
  244. STRING shift 42
  245. FLOAT shift 41
  246. BOOL shift 40
  247. LPAREN shift 39
  248. MINUS shift 38
  249. BANG shift 37
  250. PLUSPLUS shift 36
  251. MINUSMINUS shift 35
  252.  
  253. const goto 34
  254. exp goto 45
  255. assignExp goto 32
  256. callExp goto 31
  257. boolExp goto 30
  258. opExp goto 29
  259. primaryExp goto 28
  260. lambdaExp goto 27
  261.  
  262. . error
  263.  
  264.  
  265. state 19:
  266.  
  267. typeList : typeList' . (reduce by rule 7)
  268.  
  269.  
  270.  
  271. . reduce by rule 7
  272.  
  273.  
  274. state 20:
  275.  
  276. ty : FUN LPAREN typeList . RPAREN ARROW ty
  277.  
  278. RPAREN shift 46
  279.  
  280.  
  281. . error
  282.  
  283.  
  284. state 21:
  285.  
  286. typeList' : ty . COMMA typeList'
  287. typeList' : ty . (reduce by rule 10)
  288.  
  289. COMMA shift 47
  290.  
  291.  
  292. . reduce by rule 10
  293.  
  294.  
  295. state 22:
  296.  
  297. ty : FUN . LPAREN typeList RPAREN ARROW ty
  298.  
  299. LPAREN shift 12
  300.  
  301.  
  302. . error
  303.  
  304.  
  305. state 23:
  306.  
  307. functionDecl : FUN ID tyvars . LPAREN declList RPAREN ARROW ty compoundStat
  308.  
  309. LPAREN shift 48
  310.  
  311.  
  312. . error
  313.  
  314.  
  315. state 24:
  316.  
  317. tyvars : LT . idList GT
  318.  
  319. ID shift 50
  320.  
  321. idList goto 49
  322.  
  323. . error
  324.  
  325.  
  326. state 25:
  327.  
  328. functionDecl : FUN ID LPAREN . declList RPAREN ARROW ty compoundStat
  329.  
  330. ID shift 7
  331. FUN shift 22
  332. VAR shift 5
  333.  
  334. ty goto 4
  335. varDecl goto 53
  336. declList goto 52
  337. declList' goto 51
  338.  
  339. . reduce by rule 83
  340.  
  341.  
  342. state 26:
  343.  
  344. tyargs : LT typeList' . GT
  345.  
  346. GT shift 54
  347.  
  348.  
  349. . error
  350.  
  351.  
  352. state 27:
  353.  
  354. primaryExp : lambdaExp . (reduce by rule 48)
  355.  
  356.  
  357.  
  358. . reduce by rule 48
  359.  
  360.  
  361. state 28:
  362.  
  363. exp : primaryExp . (reduce by rule 11)
  364.  
  365.  
  366.  
  367. . reduce by rule 11
  368.  
  369.  
  370. state 29:
  371.  
  372. exp : opExp . (reduce by rule 14)
  373.  
  374.  
  375.  
  376. . reduce by rule 14
  377.  
  378.  
  379. state 30:
  380.  
  381. exp : boolExp . (reduce by rule 13)
  382.  
  383.  
  384.  
  385. . reduce by rule 13
  386.  
  387.  
  388. state 31:
  389.  
  390. exp : callExp . (reduce by rule 12)
  391.  
  392.  
  393.  
  394. . reduce by rule 12
  395.  
  396.  
  397. state 32:
  398.  
  399. exp : assignExp . (reduce by rule 15)
  400.  
  401.  
  402.  
  403. . reduce by rule 15
  404.  
  405.  
  406. state 33:
  407.  
  408. callExp : exp . tyargs LPAREN expList RPAREN
  409. callExp : exp . LPAREN expList RPAREN
  410. boolExp : exp . AND exp
  411. boolExp : exp . OR exp
  412. opExp : exp . PLUS exp
  413. opExp : exp . MINUS exp
  414. opExp : exp . TIMES exp
  415. opExp : exp . DIVIDE exp
  416. opExp : exp . EQ exp
  417. opExp : exp . NEQ exp
  418. opExp : exp . GT exp
  419. opExp : exp . LT exp
  420. opExp : exp . GE exp
  421. opExp : exp . LE exp
  422. varDecl : ty ID ASSIGN exp . (reduce by rule 50)
  423.  
  424. LPAREN shift 68
  425. PLUS shift 67
  426. MINUS shift 66
  427. TIMES shift 65
  428. DIVIDE shift 64
  429. EQ shift 63
  430. NEQ shift 62
  431. LT shift 61
  432. LE shift 60
  433. GT shift 59
  434. GE shift 58
  435. AND shift 57
  436. OR shift 56
  437.  
  438. tyargs goto 55
  439.  
  440. . reduce by rule 50
  441.  
  442.  
  443. state 34:
  444.  
  445. primaryExp : const . (reduce by rule 47)
  446.  
  447.  
  448.  
  449. . reduce by rule 47
  450.  
  451.  
  452. state 35:
  453.  
  454. opExp : MINUSMINUS . ID
  455.  
  456. ID shift 69
  457.  
  458.  
  459. . error
  460.  
  461.  
  462. state 36:
  463.  
  464. opExp : PLUSPLUS . ID
  465.  
  466. ID shift 70
  467.  
  468.  
  469. . error
  470.  
  471.  
  472. state 37:
  473.  
  474. opExp : BANG . exp
  475.  
  476. ID shift 44
  477. INT shift 43
  478. STRING shift 42
  479. FLOAT shift 41
  480. BOOL shift 40
  481. LPAREN shift 39
  482. MINUS shift 38
  483. BANG shift 37
  484. PLUSPLUS shift 36
  485. MINUSMINUS shift 35
  486.  
  487. const goto 34
  488. exp goto 71
  489. assignExp goto 32
  490. callExp goto 31
  491. boolExp goto 30
  492. opExp goto 29
  493. primaryExp goto 28
  494. lambdaExp goto 27
  495.  
  496. . error
  497.  
  498.  
  499. state 38:
  500.  
  501. opExp : MINUS . exp
  502.  
  503. ID shift 44
  504. INT shift 43
  505. STRING shift 42
  506. FLOAT shift 41
  507. BOOL shift 40
  508. LPAREN shift 39
  509. MINUS shift 38
  510. BANG shift 37
  511. PLUSPLUS shift 36
  512. MINUSMINUS shift 35
  513.  
  514. const goto 34
  515. exp goto 72
  516. assignExp goto 32
  517. callExp goto 31
  518. boolExp goto 30
  519. opExp goto 29
  520. primaryExp goto 28
  521. lambdaExp goto 27
  522.  
  523. . error
  524.  
  525.  
  526. state 39:
  527.  
  528. primaryExp : LPAREN . exp RPAREN
  529. lambdaExp : LPAREN . declList RPAREN ARROW ty compoundStat
  530.  
  531. ID shift 75
  532. INT shift 43
  533. STRING shift 42
  534. FLOAT shift 41
  535. BOOL shift 40
  536. LPAREN shift 39
  537. MINUS shift 38
  538. BANG shift 37
  539. PLUSPLUS shift 36
  540. MINUSMINUS shift 35
  541. FUN shift 22
  542. VAR shift 5
  543.  
  544. const goto 34
  545. ty goto 4
  546. exp goto 74
  547. assignExp goto 32
  548. callExp goto 31
  549. boolExp goto 30
  550. opExp goto 29
  551. primaryExp goto 28
  552. varDecl goto 53
  553. declList goto 73
  554. declList' goto 51
  555. lambdaExp goto 27
  556.  
  557. . reduce by rule 83
  558.  
  559.  
  560. state 40:
  561.  
  562. const : BOOL . (reduce by rule 2)
  563.  
  564.  
  565.  
  566. . reduce by rule 2
  567.  
  568.  
  569. state 41:
  570.  
  571. const : FLOAT . (reduce by rule 1)
  572.  
  573.  
  574.  
  575. . reduce by rule 1
  576.  
  577.  
  578. state 42:
  579.  
  580. const : STRING . (reduce by rule 3)
  581.  
  582.  
  583.  
  584. . reduce by rule 3
  585.  
  586.  
  587. state 43:
  588.  
  589. const : INT . (reduce by rule 0)
  590.  
  591.  
  592.  
  593. . reduce by rule 0
  594.  
  595.  
  596. state 44:
  597.  
  598. assignExp : ID . ASSIGN exp
  599. assignExp : ID . PLUSASSIGN exp
  600. assignExp : ID . MINUSASSIGN exp
  601. assignExp : ID . TIMESASSIGN exp
  602. assignExp : ID . DIVIDEASSIGN exp
  603. opExp : ID . PLUSPLUS
  604. opExp : ID . MINUSMINUS
  605. primaryExp : ID . (reduce by rule 46)
  606.  
  607. PLUSPLUS shift 82
  608. MINUSMINUS shift 81
  609. PLUSASSIGN shift 80
  610. MINUSASSIGN shift 79
  611. TIMESASSIGN shift 78
  612. DIVIDEASSIGN shift 77
  613. ASSIGN shift 76
  614.  
  615.  
  616. . reduce by rule 46
  617.  
  618.  
  619. state 45:
  620.  
  621. callExp : exp . tyargs LPAREN expList RPAREN
  622. callExp : exp . LPAREN expList RPAREN
  623. boolExp : exp . AND exp
  624. boolExp : exp . OR exp
  625. opExp : exp . PLUS exp
  626. opExp : exp . MINUS exp
  627. opExp : exp . TIMES exp
  628. opExp : exp . DIVIDE exp
  629. opExp : exp . EQ exp
  630. opExp : exp . NEQ exp
  631. opExp : exp . GT exp
  632. opExp : exp . LT exp
  633. opExp : exp . GE exp
  634. opExp : exp . LE exp
  635. varDecl : VAR ID ASSIGN exp . (reduce by rule 52)
  636.  
  637. LPAREN shift 68
  638. PLUS shift 67
  639. MINUS shift 66
  640. TIMES shift 65
  641. DIVIDE shift 64
  642. EQ shift 63
  643. NEQ shift 62
  644. LT shift 61
  645. LE shift 60
  646. GT shift 59
  647. GE shift 58
  648. AND shift 57
  649. OR shift 56
  650.  
  651. tyargs goto 55
  652.  
  653. . reduce by rule 52
  654.  
  655.  
  656. state 46:
  657.  
  658. ty : FUN LPAREN typeList RPAREN . ARROW ty
  659.  
  660. ARROW shift 83
  661.  
  662.  
  663. . error
  664.  
  665.  
  666. state 47:
  667.  
  668. typeList' : ty COMMA . typeList'
  669.  
  670. ID shift 7
  671. FUN shift 22
  672.  
  673. ty goto 21
  674. typeList' goto 84
  675.  
  676. . error
  677.  
  678.  
  679. state 48:
  680.  
  681. functionDecl : FUN ID tyvars LPAREN . declList RPAREN ARROW ty compoundStat
  682.  
  683. ID shift 7
  684. FUN shift 22
  685. VAR shift 5
  686.  
  687. ty goto 4
  688. varDecl goto 53
  689. declList goto 85
  690. declList' goto 51
  691.  
  692. . reduce by rule 83
  693.  
  694.  
  695. state 49:
  696.  
  697. tyvars : LT idList . GT
  698.  
  699. GT shift 86
  700.  
  701.  
  702. . error
  703.  
  704.  
  705. state 50:
  706.  
  707. idList : ID . COMMA idList
  708. idList : ID . (reduce by rule 87)
  709.  
  710. COMMA shift 87
  711.  
  712.  
  713. . reduce by rule 87
  714.  
  715.  
  716. state 51:
  717.  
  718. declList : declList' . (reduce by rule 82)
  719.  
  720.  
  721.  
  722. . reduce by rule 82
  723.  
  724.  
  725. state 52:
  726.  
  727. functionDecl : FUN ID LPAREN declList . RPAREN ARROW ty compoundStat
  728.  
  729. RPAREN shift 88
  730.  
  731.  
  732. . error
  733.  
  734.  
  735. state 53:
  736.  
  737. declList' : varDecl . COMMA declList'
  738. declList' : varDecl . (reduce by rule 85)
  739.  
  740. COMMA shift 89
  741.  
  742.  
  743. . reduce by rule 85
  744.  
  745.  
  746. state 54:
  747.  
  748. tyargs : LT typeList' GT . (reduce by rule 21)
  749.  
  750.  
  751.  
  752. . reduce by rule 21
  753.  
  754.  
  755. state 55:
  756.  
  757. callExp : exp tyargs . LPAREN expList RPAREN
  758.  
  759. LPAREN shift 90
  760.  
  761.  
  762. . error
  763.  
  764.  
  765. state 56:
  766.  
  767. boolExp : exp OR . exp
  768.  
  769. ID shift 44
  770. INT shift 43
  771. STRING shift 42
  772. FLOAT shift 41
  773. BOOL shift 40
  774. LPAREN shift 39
  775. MINUS shift 38
  776. BANG shift 37
  777. PLUSPLUS shift 36
  778. MINUSMINUS shift 35
  779.  
  780. const goto 34
  781. exp goto 91
  782. assignExp goto 32
  783. callExp goto 31
  784. boolExp goto 30
  785. opExp goto 29
  786. primaryExp goto 28
  787. lambdaExp goto 27
  788.  
  789. . error
  790.  
  791.  
  792. state 57:
  793.  
  794. boolExp : exp AND . exp
  795.  
  796. ID shift 44
  797. INT shift 43
  798. STRING shift 42
  799. FLOAT shift 41
  800. BOOL shift 40
  801. LPAREN shift 39
  802. MINUS shift 38
  803. BANG shift 37
  804. PLUSPLUS shift 36
  805. MINUSMINUS shift 35
  806.  
  807. const goto 34
  808. exp goto 92
  809. assignExp goto 32
  810. callExp goto 31
  811. boolExp goto 30
  812. opExp goto 29
  813. primaryExp goto 28
  814. lambdaExp goto 27
  815.  
  816. . error
  817.  
  818.  
  819. state 58:
  820.  
  821. opExp : exp GE . exp
  822.  
  823. ID shift 44
  824. INT shift 43
  825. STRING shift 42
  826. FLOAT shift 41
  827. BOOL shift 40
  828. LPAREN shift 39
  829. MINUS shift 38
  830. BANG shift 37
  831. PLUSPLUS shift 36
  832. MINUSMINUS shift 35
  833.  
  834. const goto 34
  835. exp goto 93
  836. assignExp goto 32
  837. callExp goto 31
  838. boolExp goto 30
  839. opExp goto 29
  840. primaryExp goto 28
  841. lambdaExp goto 27
  842.  
  843. . error
  844.  
  845.  
  846. state 59:
  847.  
  848. opExp : exp GT . exp
  849.  
  850. ID shift 44
  851. INT shift 43
  852. STRING shift 42
  853. FLOAT shift 41
  854. BOOL shift 40
  855. LPAREN shift 39
  856. MINUS shift 38
  857. BANG shift 37
  858. PLUSPLUS shift 36
  859. MINUSMINUS shift 35
  860.  
  861. const goto 34
  862. exp goto 94
  863. assignExp goto 32
  864. callExp goto 31
  865. boolExp goto 30
  866. opExp goto 29
  867. primaryExp goto 28
  868. lambdaExp goto 27
  869.  
  870. . error
  871.  
  872.  
  873. state 60:
  874.  
  875. opExp : exp LE . exp
  876.  
  877. ID shift 44
  878. INT shift 43
  879. STRING shift 42
  880. FLOAT shift 41
  881. BOOL shift 40
  882. LPAREN shift 39
  883. MINUS shift 38
  884. BANG shift 37
  885. PLUSPLUS shift 36
  886. MINUSMINUS shift 35
  887.  
  888. const goto 34
  889. exp goto 95
  890. assignExp goto 32
  891. callExp goto 31
  892. boolExp goto 30
  893. opExp goto 29
  894. primaryExp goto 28
  895. lambdaExp goto 27
  896.  
  897. . error
  898.  
  899.  
  900. state 61:
  901.  
  902. opExp : exp LT . exp
  903. tyargs : LT . typeList' GT
  904.  
  905. ID shift 75
  906. INT shift 43
  907. STRING shift 42
  908. FLOAT shift 41
  909. BOOL shift 40
  910. LPAREN shift 39
  911. MINUS shift 38
  912. BANG shift 37
  913. PLUSPLUS shift 36
  914. MINUSMINUS shift 35
  915. FUN shift 22
  916.  
  917. const goto 34
  918. ty goto 21
  919. typeList' goto 26
  920. exp goto 96
  921. assignExp goto 32
  922. callExp goto 31
  923. boolExp goto 30
  924. opExp goto 29
  925. primaryExp goto 28
  926. lambdaExp goto 27
  927.  
  928. . error
  929.  
  930.  
  931. state 62:
  932.  
  933. opExp : exp NEQ . exp
  934.  
  935. ID shift 44
  936. INT shift 43
  937. STRING shift 42
  938. FLOAT shift 41
  939. BOOL shift 40
  940. LPAREN shift 39
  941. MINUS shift 38
  942. BANG shift 37
  943. PLUSPLUS shift 36
  944. MINUSMINUS shift 35
  945.  
  946. const goto 34
  947. exp goto 97
  948. assignExp goto 32
  949. callExp goto 31
  950. boolExp goto 30
  951. opExp goto 29
  952. primaryExp goto 28
  953. lambdaExp goto 27
  954.  
  955. . error
  956.  
  957.  
  958. state 63:
  959.  
  960. opExp : exp EQ . exp
  961.  
  962. ID shift 44
  963. INT shift 43
  964. STRING shift 42
  965. FLOAT shift 41
  966. BOOL shift 40
  967. LPAREN shift 39
  968. MINUS shift 38
  969. BANG shift 37
  970. PLUSPLUS shift 36
  971. MINUSMINUS shift 35
  972.  
  973. const goto 34
  974. exp goto 98
  975. assignExp goto 32
  976. callExp goto 31
  977. boolExp goto 30
  978. opExp goto 29
  979. primaryExp goto 28
  980. lambdaExp goto 27
  981.  
  982. . error
  983.  
  984.  
  985. state 64:
  986.  
  987. opExp : exp DIVIDE . exp
  988.  
  989. ID shift 44
  990. INT shift 43
  991. STRING shift 42
  992. FLOAT shift 41
  993. BOOL shift 40
  994. LPAREN shift 39
  995. MINUS shift 38
  996. BANG shift 37
  997. PLUSPLUS shift 36
  998. MINUSMINUS shift 35
  999.  
  1000. const goto 34
  1001. exp goto 99
  1002. assignExp goto 32
  1003. callExp goto 31
  1004. boolExp goto 30
  1005. opExp goto 29
  1006. primaryExp goto 28
  1007. lambdaExp goto 27
  1008.  
  1009. . error
  1010.  
  1011.  
  1012. state 65:
  1013.  
  1014. opExp : exp TIMES . exp
  1015.  
  1016. ID shift 44
  1017. INT shift 43
  1018. STRING shift 42
  1019. FLOAT shift 41
  1020. BOOL shift 40
  1021. LPAREN shift 39
  1022. MINUS shift 38
  1023. BANG shift 37
  1024. PLUSPLUS shift 36
  1025. MINUSMINUS shift 35
  1026.  
  1027. const goto 34
  1028. exp goto 100
  1029. assignExp goto 32
  1030. callExp goto 31
  1031. boolExp goto 30
  1032. opExp goto 29
  1033. primaryExp goto 28
  1034. lambdaExp goto 27
  1035.  
  1036. . error
  1037.  
  1038.  
  1039. state 66:
  1040.  
  1041. opExp : exp MINUS . exp
  1042.  
  1043. ID shift 44
  1044. INT shift 43
  1045. STRING shift 42
  1046. FLOAT shift 41
  1047. BOOL shift 40
  1048. LPAREN shift 39
  1049. MINUS shift 38
  1050. BANG shift 37
  1051. PLUSPLUS shift 36
  1052. MINUSMINUS shift 35
  1053.  
  1054. const goto 34
  1055. exp goto 101
  1056. assignExp goto 32
  1057. callExp goto 31
  1058. boolExp goto 30
  1059. opExp goto 29
  1060. primaryExp goto 28
  1061. lambdaExp goto 27
  1062.  
  1063. . error
  1064.  
  1065.  
  1066. state 67:
  1067.  
  1068. opExp : exp PLUS . exp
  1069.  
  1070. ID shift 44
  1071. INT shift 43
  1072. STRING shift 42
  1073. FLOAT shift 41
  1074. BOOL shift 40
  1075. LPAREN shift 39
  1076. MINUS shift 38
  1077. BANG shift 37
  1078. PLUSPLUS shift 36
  1079. MINUSMINUS shift 35
  1080.  
  1081. const goto 34
  1082. exp goto 102
  1083. assignExp goto 32
  1084. callExp goto 31
  1085. boolExp goto 30
  1086. opExp goto 29
  1087. primaryExp goto 28
  1088. lambdaExp goto 27
  1089.  
  1090. . error
  1091.  
  1092.  
  1093. state 68:
  1094.  
  1095. callExp : exp LPAREN . expList RPAREN
  1096.  
  1097. ID shift 44
  1098. INT shift 43
  1099. STRING shift 42
  1100. FLOAT shift 41
  1101. BOOL shift 40
  1102. LPAREN shift 39
  1103. MINUS shift 38
  1104. BANG shift 37
  1105. PLUSPLUS shift 36
  1106. MINUSMINUS shift 35
  1107.  
  1108. const goto 34
  1109. exp goto 105
  1110. assignExp goto 32
  1111. callExp goto 31
  1112. boolExp goto 30
  1113. opExp goto 29
  1114. expList goto 104
  1115. expList' goto 103
  1116. primaryExp goto 28
  1117. lambdaExp goto 27
  1118.  
  1119. . reduce by rule 43
  1120.  
  1121.  
  1122. state 69:
  1123.  
  1124. opExp : MINUSMINUS ID . (reduce by rule 29)
  1125.  
  1126.  
  1127.  
  1128. . reduce by rule 29
  1129.  
  1130.  
  1131. state 70:
  1132.  
  1133. opExp : PLUSPLUS ID . (reduce by rule 28)
  1134.  
  1135.  
  1136.  
  1137. . reduce by rule 28
  1138.  
  1139.  
  1140. state 71:
  1141.  
  1142. callExp : exp . tyargs LPAREN expList RPAREN
  1143. callExp : exp . LPAREN expList RPAREN
  1144. boolExp : exp . AND exp
  1145. boolExp : exp . OR exp
  1146. opExp : exp . PLUS exp
  1147. opExp : exp . MINUS exp
  1148. opExp : BANG exp . (reduce by rule 33)
  1149. opExp : exp . TIMES exp
  1150. opExp : exp . DIVIDE exp
  1151. opExp : exp . EQ exp
  1152. opExp : exp . NEQ exp
  1153. opExp : exp . GT exp
  1154. opExp : exp . LT exp
  1155. opExp : exp . GE exp
  1156. opExp : exp . LE exp
  1157.  
  1158. LPAREN shift 68
  1159.  
  1160. tyargs goto 55
  1161.  
  1162. . reduce by rule 33
  1163.  
  1164.  
  1165. state 72:
  1166.  
  1167. callExp : exp . tyargs LPAREN expList RPAREN
  1168. callExp : exp . LPAREN expList RPAREN
  1169. boolExp : exp . AND exp
  1170. boolExp : exp . OR exp
  1171. opExp : exp . PLUS exp
  1172. opExp : exp . MINUS exp
  1173. opExp : MINUS exp . (reduce by rule 32)
  1174. opExp : exp . TIMES exp
  1175. opExp : exp . DIVIDE exp
  1176. opExp : exp . EQ exp
  1177. opExp : exp . NEQ exp
  1178. opExp : exp . GT exp
  1179. opExp : exp . LT exp
  1180. opExp : exp . GE exp
  1181. opExp : exp . LE exp
  1182.  
  1183. LPAREN shift 68
  1184.  
  1185. tyargs goto 55
  1186.  
  1187. . reduce by rule 32
  1188.  
  1189.  
  1190. state 73:
  1191.  
  1192. lambdaExp : LPAREN declList . RPAREN ARROW ty compoundStat
  1193.  
  1194. RPAREN shift 106
  1195.  
  1196.  
  1197. . error
  1198.  
  1199.  
  1200. state 74:
  1201.  
  1202. callExp : exp . tyargs LPAREN expList RPAREN
  1203. callExp : exp . LPAREN expList RPAREN
  1204. boolExp : exp . AND exp
  1205. boolExp : exp . OR exp
  1206. opExp : exp . PLUS exp
  1207. opExp : exp . MINUS exp
  1208. opExp : exp . TIMES exp
  1209. opExp : exp . DIVIDE exp
  1210. opExp : exp . EQ exp
  1211. opExp : exp . NEQ exp
  1212. opExp : exp . GT exp
  1213. opExp : exp . LT exp
  1214. opExp : exp . GE exp
  1215. opExp : exp . LE exp
  1216. primaryExp : LPAREN exp . RPAREN
  1217.  
  1218. LPAREN shift 68
  1219. RPAREN shift 107
  1220. PLUS shift 67
  1221. MINUS shift 66
  1222. TIMES shift 65
  1223. DIVIDE shift 64
  1224. EQ shift 63
  1225. NEQ shift 62
  1226. LT shift 61
  1227. LE shift 60
  1228. GT shift 59
  1229. GE shift 58
  1230. AND shift 57
  1231. OR shift 56
  1232.  
  1233. tyargs goto 55
  1234.  
  1235. . error
  1236.  
  1237. error: state 75: reduce/reduce conflict between rule 46 and rule 5 on GT
  1238. error: state 75: reduce/reduce conflict between rule 46 and rule 5 on COMMA
  1239. error: state 75: shift/reduce conflict (shift LT, reduce by rule 46)
  1240.  
  1241. state 75:
  1242.  
  1243. ty : ID . tyargs
  1244. ty : ID . (reduce by rule 5)
  1245. assignExp : ID . ASSIGN exp
  1246. assignExp : ID . PLUSASSIGN exp
  1247. assignExp : ID . MINUSASSIGN exp
  1248. assignExp : ID . TIMESASSIGN exp
  1249. assignExp : ID . DIVIDEASSIGN exp
  1250. opExp : ID . PLUSPLUS
  1251. opExp : ID . MINUSMINUS
  1252. primaryExp : ID . (reduce by rule 46)
  1253.  
  1254. ID reduce by rule 5
  1255. COMMA reduce by rule 5
  1256. SEMICOLON reduce by rule 46
  1257. LPAREN reduce by rule 46
  1258. RPAREN reduce by rule 46
  1259. PLUS reduce by rule 46
  1260. MINUS reduce by rule 46
  1261. TIMES reduce by rule 46
  1262. DIVIDE reduce by rule 46
  1263. EQ reduce by rule 46
  1264. NEQ reduce by rule 46
  1265. LT shift 15
  1266. LE reduce by rule 46
  1267. GT reduce by rule 5
  1268. GE reduce by rule 46
  1269. PLUSPLUS shift 82
  1270. MINUSMINUS shift 81
  1271. PLUSASSIGN shift 80
  1272. MINUSASSIGN shift 79
  1273. TIMESASSIGN shift 78
  1274. DIVIDEASSIGN shift 77
  1275. AND reduce by rule 46
  1276. OR reduce by rule 46
  1277. ASSIGN shift 76
  1278.  
  1279. tyargs goto 14
  1280.  
  1281. . error
  1282.  
  1283.  
  1284. state 76:
  1285.  
  1286. assignExp : ID ASSIGN . exp
  1287.  
  1288. ID shift 44
  1289. INT shift 43
  1290. STRING shift 42
  1291. FLOAT shift 41
  1292. BOOL shift 40
  1293. LPAREN shift 39
  1294. MINUS shift 38
  1295. BANG shift 37
  1296. PLUSPLUS shift 36
  1297. MINUSMINUS shift 35
  1298.  
  1299. const goto 34
  1300. exp goto 108
  1301. assignExp goto 32
  1302. callExp goto 31
  1303. boolExp goto 30
  1304. opExp goto 29
  1305. primaryExp goto 28
  1306. lambdaExp goto 27
  1307.  
  1308. . error
  1309.  
  1310.  
  1311. state 77:
  1312.  
  1313. assignExp : ID DIVIDEASSIGN . exp
  1314.  
  1315. ID shift 44
  1316. INT shift 43
  1317. STRING shift 42
  1318. FLOAT shift 41
  1319. BOOL shift 40
  1320. LPAREN shift 39
  1321. MINUS shift 38
  1322. BANG shift 37
  1323. PLUSPLUS shift 36
  1324. MINUSMINUS shift 35
  1325.  
  1326. const goto 34
  1327. exp goto 109
  1328. assignExp goto 32
  1329. callExp goto 31
  1330. boolExp goto 30
  1331. opExp goto 29
  1332. primaryExp goto 28
  1333. lambdaExp goto 27
  1334.  
  1335. . error
  1336.  
  1337.  
  1338. state 78:
  1339.  
  1340. assignExp : ID TIMESASSIGN . exp
  1341.  
  1342. ID shift 44
  1343. INT shift 43
  1344. STRING shift 42
  1345. FLOAT shift 41
  1346. BOOL shift 40
  1347. LPAREN shift 39
  1348. MINUS shift 38
  1349. BANG shift 37
  1350. PLUSPLUS shift 36
  1351. MINUSMINUS shift 35
  1352.  
  1353. const goto 34
  1354. exp goto 110
  1355. assignExp goto 32
  1356. callExp goto 31
  1357. boolExp goto 30
  1358. opExp goto 29
  1359. primaryExp goto 28
  1360. lambdaExp goto 27
  1361.  
  1362. . error
  1363.  
  1364.  
  1365. state 79:
  1366.  
  1367. assignExp : ID MINUSASSIGN . exp
  1368.  
  1369. ID shift 44
  1370. INT shift 43
  1371. STRING shift 42
  1372. FLOAT shift 41
  1373. BOOL shift 40
  1374. LPAREN shift 39
  1375. MINUS shift 38
  1376. BANG shift 37
  1377. PLUSPLUS shift 36
  1378. MINUSMINUS shift 35
  1379.  
  1380. const goto 34
  1381. exp goto 111
  1382. assignExp goto 32
  1383. callExp goto 31
  1384. boolExp goto 30
  1385. opExp goto 29
  1386. primaryExp goto 28
  1387. lambdaExp goto 27
  1388.  
  1389. . error
  1390.  
  1391.  
  1392. state 80:
  1393.  
  1394. assignExp : ID PLUSASSIGN . exp
  1395.  
  1396. ID shift 44
  1397. INT shift 43
  1398. STRING shift 42
  1399. FLOAT shift 41
  1400. BOOL shift 40
  1401. LPAREN shift 39
  1402. MINUS shift 38
  1403. BANG shift 37
  1404. PLUSPLUS shift 36
  1405. MINUSMINUS shift 35
  1406.  
  1407. const goto 34
  1408. exp goto 112
  1409. assignExp goto 32
  1410. callExp goto 31
  1411. boolExp goto 30
  1412. opExp goto 29
  1413. primaryExp goto 28
  1414. lambdaExp goto 27
  1415.  
  1416. . error
  1417.  
  1418.  
  1419. state 81:
  1420.  
  1421. opExp : ID MINUSMINUS . (reduce by rule 27)
  1422.  
  1423.  
  1424.  
  1425. . reduce by rule 27
  1426.  
  1427.  
  1428. state 82:
  1429.  
  1430. opExp : ID PLUSPLUS . (reduce by rule 26)
  1431.  
  1432.  
  1433.  
  1434. . reduce by rule 26
  1435.  
  1436.  
  1437. state 83:
  1438.  
  1439. ty : FUN LPAREN typeList RPAREN ARROW . ty
  1440.  
  1441. ID shift 7
  1442. FUN shift 22
  1443.  
  1444. ty goto 113
  1445.  
  1446. . error
  1447.  
  1448.  
  1449. state 84:
  1450.  
  1451. typeList' : ty COMMA typeList' . (reduce by rule 9)
  1452.  
  1453.  
  1454.  
  1455. . reduce by rule 9
  1456.  
  1457.  
  1458. state 85:
  1459.  
  1460. functionDecl : FUN ID tyvars LPAREN declList . RPAREN ARROW ty compoundStat
  1461.  
  1462. RPAREN shift 114
  1463.  
  1464.  
  1465. . error
  1466.  
  1467.  
  1468. state 86:
  1469.  
  1470. tyvars : LT idList GT . (reduce by rule 88)
  1471.  
  1472.  
  1473.  
  1474. . reduce by rule 88
  1475.  
  1476.  
  1477. state 87:
  1478.  
  1479. idList : ID COMMA . idList
  1480.  
  1481. ID shift 50
  1482.  
  1483. idList goto 115
  1484.  
  1485. . error
  1486.  
  1487.  
  1488. state 88:
  1489.  
  1490. functionDecl : FUN ID LPAREN declList RPAREN . ARROW ty compoundStat
  1491.  
  1492. ARROW shift 116
  1493.  
  1494.  
  1495. . error
  1496.  
  1497.  
  1498. state 89:
  1499.  
  1500. declList' : varDecl COMMA . declList'
  1501.  
  1502. ID shift 7
  1503. FUN shift 22
  1504. VAR shift 5
  1505.  
  1506. ty goto 4
  1507. varDecl goto 53
  1508. declList' goto 117
  1509.  
  1510. . error
  1511.  
  1512.  
  1513. state 90:
  1514.  
  1515. callExp : exp tyargs LPAREN . expList RPAREN
  1516.  
  1517. ID shift 44
  1518. INT shift 43
  1519. STRING shift 42
  1520. FLOAT shift 41
  1521. BOOL shift 40
  1522. LPAREN shift 39
  1523. MINUS shift 38
  1524. BANG shift 37
  1525. PLUSPLUS shift 36
  1526. MINUSMINUS shift 35
  1527.  
  1528. const goto 34
  1529. exp goto 105
  1530. assignExp goto 32
  1531. callExp goto 31
  1532. boolExp goto 30
  1533. opExp goto 29
  1534. expList goto 118
  1535. expList' goto 103
  1536. primaryExp goto 28
  1537. lambdaExp goto 27
  1538.  
  1539. . reduce by rule 43
  1540.  
  1541.  
  1542. state 91:
  1543.  
  1544. callExp : exp . tyargs LPAREN expList RPAREN
  1545. callExp : exp . LPAREN expList RPAREN
  1546. boolExp : exp . AND exp
  1547. boolExp : exp . OR exp
  1548. boolExp : exp OR exp . (reduce by rule 25)
  1549. opExp : exp . PLUS exp
  1550. opExp : exp . MINUS exp
  1551. opExp : exp . TIMES exp
  1552. opExp : exp . DIVIDE exp
  1553. opExp : exp . EQ exp
  1554. opExp : exp . NEQ exp
  1555. opExp : exp . GT exp
  1556. opExp : exp . LT exp
  1557. opExp : exp . GE exp
  1558. opExp : exp . LE exp
  1559.  
  1560. LPAREN shift 68
  1561. PLUS shift 67
  1562. MINUS shift 66
  1563. TIMES shift 65
  1564. DIVIDE shift 64
  1565. EQ shift 63
  1566. NEQ shift 62
  1567. LT shift 61
  1568. LE shift 60
  1569. GT shift 59
  1570. GE shift 58
  1571. AND shift 57
  1572.  
  1573. tyargs goto 55
  1574.  
  1575. . reduce by rule 25
  1576.  
  1577.  
  1578. state 92:
  1579.  
  1580. callExp : exp . tyargs LPAREN expList RPAREN
  1581. callExp : exp . LPAREN expList RPAREN
  1582. boolExp : exp . AND exp
  1583. boolExp : exp AND exp . (reduce by rule 24)
  1584. boolExp : exp . OR exp
  1585. opExp : exp . PLUS exp
  1586. opExp : exp . MINUS exp
  1587. opExp : exp . TIMES exp
  1588. opExp : exp . DIVIDE exp
  1589. opExp : exp . EQ exp
  1590. opExp : exp . NEQ exp
  1591. opExp : exp . GT exp
  1592. opExp : exp . LT exp
  1593. opExp : exp . GE exp
  1594. opExp : exp . LE exp
  1595.  
  1596. LPAREN shift 68
  1597. PLUS shift 67
  1598. MINUS shift 66
  1599. TIMES shift 65
  1600. DIVIDE shift 64
  1601. EQ shift 63
  1602. NEQ shift 62
  1603. LT shift 61
  1604. LE shift 60
  1605. GT shift 59
  1606. GE shift 58
  1607.  
  1608. tyargs goto 55
  1609.  
  1610. . reduce by rule 24
  1611.  
  1612.  
  1613. state 93:
  1614.  
  1615. callExp : exp . tyargs LPAREN expList RPAREN
  1616. callExp : exp . LPAREN expList RPAREN
  1617. boolExp : exp . AND exp
  1618. boolExp : exp . OR exp
  1619. opExp : exp . PLUS exp
  1620. opExp : exp . MINUS exp
  1621. opExp : exp . TIMES exp
  1622. opExp : exp . DIVIDE exp
  1623. opExp : exp . EQ exp
  1624. opExp : exp . NEQ exp
  1625. opExp : exp . GT exp
  1626. opExp : exp . LT exp
  1627. opExp : exp . GE exp
  1628. opExp : exp GE exp . (reduce by rule 40)
  1629. opExp : exp . LE exp
  1630.  
  1631. COMMA reduce by rule 40
  1632. SEMICOLON reduce by rule 40
  1633. LPAREN shift 68
  1634. RPAREN reduce by rule 40
  1635. PLUS shift 67
  1636. MINUS shift 66
  1637. TIMES shift 65
  1638. DIVIDE shift 64
  1639. AND reduce by rule 40
  1640. OR reduce by rule 40
  1641.  
  1642. tyargs goto 55
  1643.  
  1644. . error
  1645.  
  1646.  
  1647. state 94:
  1648.  
  1649. callExp : exp . tyargs LPAREN expList RPAREN
  1650. callExp : exp . LPAREN expList RPAREN
  1651. boolExp : exp . AND exp
  1652. boolExp : exp . OR exp
  1653. opExp : exp . PLUS exp
  1654. opExp : exp . MINUS exp
  1655. opExp : exp . TIMES exp
  1656. opExp : exp . DIVIDE exp
  1657. opExp : exp . EQ exp
  1658. opExp : exp . NEQ exp
  1659. opExp : exp . GT exp
  1660. opExp : exp GT exp . (reduce by rule 38)
  1661. opExp : exp . LT exp
  1662. opExp : exp . GE exp
  1663. opExp : exp . LE exp
  1664.  
  1665. COMMA reduce by rule 38
  1666. SEMICOLON reduce by rule 38
  1667. LPAREN shift 68
  1668. RPAREN reduce by rule 38
  1669. PLUS shift 67
  1670. MINUS shift 66
  1671. TIMES shift 65
  1672. DIVIDE shift 64
  1673. AND reduce by rule 38
  1674. OR reduce by rule 38
  1675.  
  1676. tyargs goto 55
  1677.  
  1678. . error
  1679.  
  1680.  
  1681. state 95:
  1682.  
  1683. callExp : exp . tyargs LPAREN expList RPAREN
  1684. callExp : exp . LPAREN expList RPAREN
  1685. boolExp : exp . AND exp
  1686. boolExp : exp . OR exp
  1687. opExp : exp . PLUS exp
  1688. opExp : exp . MINUS exp
  1689. opExp : exp . TIMES exp
  1690. opExp : exp . DIVIDE exp
  1691. opExp : exp . EQ exp
  1692. opExp : exp . NEQ exp
  1693. opExp : exp . GT exp
  1694. opExp : exp . LT exp
  1695. opExp : exp . GE exp
  1696. opExp : exp . LE exp
  1697. opExp : exp LE exp . (reduce by rule 41)
  1698.  
  1699. COMMA reduce by rule 41
  1700. SEMICOLON reduce by rule 41
  1701. LPAREN shift 68
  1702. RPAREN reduce by rule 41
  1703. PLUS shift 67
  1704. MINUS shift 66
  1705. TIMES shift 65
  1706. DIVIDE shift 64
  1707. AND reduce by rule 41
  1708. OR reduce by rule 41
  1709.  
  1710. tyargs goto 55
  1711.  
  1712. . error
  1713.  
  1714.  
  1715. state 96:
  1716.  
  1717. callExp : exp . tyargs LPAREN expList RPAREN
  1718. callExp : exp . LPAREN expList RPAREN
  1719. boolExp : exp . AND exp
  1720. boolExp : exp . OR exp
  1721. opExp : exp . PLUS exp
  1722. opExp : exp . MINUS exp
  1723. opExp : exp . TIMES exp
  1724. opExp : exp . DIVIDE exp
  1725. opExp : exp . EQ exp
  1726. opExp : exp . NEQ exp
  1727. opExp : exp . GT exp
  1728. opExp : exp . LT exp
  1729. opExp : exp LT exp . (reduce by rule 39)
  1730. opExp : exp . GE exp
  1731. opExp : exp . LE exp
  1732.  
  1733. COMMA reduce by rule 39
  1734. SEMICOLON reduce by rule 39
  1735. LPAREN shift 68
  1736. RPAREN reduce by rule 39
  1737. PLUS shift 67
  1738. MINUS shift 66
  1739. TIMES shift 65
  1740. DIVIDE shift 64
  1741. AND reduce by rule 39
  1742. OR reduce by rule 39
  1743.  
  1744. tyargs goto 55
  1745.  
  1746. . error
  1747.  
  1748.  
  1749. state 97:
  1750.  
  1751. callExp : exp . tyargs LPAREN expList RPAREN
  1752. callExp : exp . LPAREN expList RPAREN
  1753. boolExp : exp . AND exp
  1754. boolExp : exp . OR exp
  1755. opExp : exp . PLUS exp
  1756. opExp : exp . MINUS exp
  1757. opExp : exp . TIMES exp
  1758. opExp : exp . DIVIDE exp
  1759. opExp : exp . EQ exp
  1760. opExp : exp . NEQ exp
  1761. opExp : exp NEQ exp . (reduce by rule 37)
  1762. opExp : exp . GT exp
  1763. opExp : exp . LT exp
  1764. opExp : exp . GE exp
  1765. opExp : exp . LE exp
  1766.  
  1767. COMMA reduce by rule 37
  1768. SEMICOLON reduce by rule 37
  1769. LPAREN shift 68
  1770. RPAREN reduce by rule 37
  1771. PLUS shift 67
  1772. MINUS shift 66
  1773. TIMES shift 65
  1774. DIVIDE shift 64
  1775. AND reduce by rule 37
  1776. OR reduce by rule 37
  1777.  
  1778. tyargs goto 55
  1779.  
  1780. . error
  1781.  
  1782.  
  1783. state 98:
  1784.  
  1785. callExp : exp . tyargs LPAREN expList RPAREN
  1786. callExp : exp . LPAREN expList RPAREN
  1787. boolExp : exp . AND exp
  1788. boolExp : exp . OR exp
  1789. opExp : exp . PLUS exp
  1790. opExp : exp . MINUS exp
  1791. opExp : exp . TIMES exp
  1792. opExp : exp . DIVIDE exp
  1793. opExp : exp . EQ exp
  1794. opExp : exp EQ exp . (reduce by rule 36)
  1795. opExp : exp . NEQ exp
  1796. opExp : exp . GT exp
  1797. opExp : exp . LT exp
  1798. opExp : exp . GE exp
  1799. opExp : exp . LE exp
  1800.  
  1801. COMMA reduce by rule 36
  1802. SEMICOLON reduce by rule 36
  1803. LPAREN shift 68
  1804. RPAREN reduce by rule 36
  1805. PLUS shift 67
  1806. MINUS shift 66
  1807. TIMES shift 65
  1808. DIVIDE shift 64
  1809. AND reduce by rule 36
  1810. OR reduce by rule 36
  1811.  
  1812. tyargs goto 55
  1813.  
  1814. . error
  1815.  
  1816.  
  1817. state 99:
  1818.  
  1819. callExp : exp . tyargs LPAREN expList RPAREN
  1820. callExp : exp . LPAREN expList RPAREN
  1821. boolExp : exp . AND exp
  1822. boolExp : exp . OR exp
  1823. opExp : exp . PLUS exp
  1824. opExp : exp . MINUS exp
  1825. opExp : exp . TIMES exp
  1826. opExp : exp . DIVIDE exp
  1827. opExp : exp DIVIDE exp . (reduce by rule 35)
  1828. opExp : exp . EQ exp
  1829. opExp : exp . NEQ exp
  1830. opExp : exp . GT exp
  1831. opExp : exp . LT exp
  1832. opExp : exp . GE exp
  1833. opExp : exp . LE exp
  1834.  
  1835. LPAREN shift 68
  1836.  
  1837. tyargs goto 55
  1838.  
  1839. . reduce by rule 35
  1840.  
  1841.  
  1842. state 100:
  1843.  
  1844. callExp : exp . tyargs LPAREN expList RPAREN
  1845. callExp : exp . LPAREN expList RPAREN
  1846. boolExp : exp . AND exp
  1847. boolExp : exp . OR exp
  1848. opExp : exp . PLUS exp
  1849. opExp : exp . MINUS exp
  1850. opExp : exp . TIMES exp
  1851. opExp : exp TIMES exp . (reduce by rule 34)
  1852. opExp : exp . DIVIDE exp
  1853. opExp : exp . EQ exp
  1854. opExp : exp . NEQ exp
  1855. opExp : exp . GT exp
  1856. opExp : exp . LT exp
  1857. opExp : exp . GE exp
  1858. opExp : exp . LE exp
  1859.  
  1860. LPAREN shift 68
  1861.  
  1862. tyargs goto 55
  1863.  
  1864. . reduce by rule 34
  1865.  
  1866.  
  1867. state 101:
  1868.  
  1869. callExp : exp . tyargs LPAREN expList RPAREN
  1870. callExp : exp . LPAREN expList RPAREN
  1871. boolExp : exp . AND exp
  1872. boolExp : exp . OR exp
  1873. opExp : exp . PLUS exp
  1874. opExp : exp . MINUS exp
  1875. opExp : exp MINUS exp . (reduce by rule 31)
  1876. opExp : exp . TIMES exp
  1877. opExp : exp . DIVIDE exp
  1878. opExp : exp . EQ exp
  1879. opExp : exp . NEQ exp
  1880. opExp : exp . GT exp
  1881. opExp : exp . LT exp
  1882. opExp : exp . GE exp
  1883. opExp : exp . LE exp
  1884.  
  1885. LPAREN shift 68
  1886. TIMES shift 65
  1887. DIVIDE shift 64
  1888.  
  1889. tyargs goto 55
  1890.  
  1891. . reduce by rule 31
  1892.  
  1893.  
  1894. state 102:
  1895.  
  1896. callExp : exp . tyargs LPAREN expList RPAREN
  1897. callExp : exp . LPAREN expList RPAREN
  1898. boolExp : exp . AND exp
  1899. boolExp : exp . OR exp
  1900. opExp : exp . PLUS exp
  1901. opExp : exp PLUS exp . (reduce by rule 30)
  1902. opExp : exp . MINUS exp
  1903. opExp : exp . TIMES exp
  1904. opExp : exp . DIVIDE exp
  1905. opExp : exp . EQ exp
  1906. opExp : exp . NEQ exp
  1907. opExp : exp . GT exp
  1908. opExp : exp . LT exp
  1909. opExp : exp . GE exp
  1910. opExp : exp . LE exp
  1911.  
  1912. LPAREN shift 68
  1913. TIMES shift 65
  1914. DIVIDE shift 64
  1915.  
  1916. tyargs goto 55
  1917.  
  1918. . reduce by rule 30
  1919.  
  1920.  
  1921. state 103:
  1922.  
  1923. expList : expList' . (reduce by rule 42)
  1924.  
  1925.  
  1926.  
  1927. . reduce by rule 42
  1928.  
  1929.  
  1930. state 104:
  1931.  
  1932. callExp : exp LPAREN expList . RPAREN
  1933.  
  1934. RPAREN shift 119
  1935.  
  1936.  
  1937. . error
  1938.  
  1939.  
  1940. state 105:
  1941.  
  1942. callExp : exp . tyargs LPAREN expList RPAREN
  1943. callExp : exp . LPAREN expList RPAREN
  1944. boolExp : exp . AND exp
  1945. boolExp : exp . OR exp
  1946. opExp : exp . PLUS exp
  1947. opExp : exp . MINUS exp
  1948. opExp : exp . TIMES exp
  1949. opExp : exp . DIVIDE exp
  1950. opExp : exp . EQ exp
  1951. opExp : exp . NEQ exp
  1952. opExp : exp . GT exp
  1953. opExp : exp . LT exp
  1954. opExp : exp . GE exp
  1955. opExp : exp . LE exp
  1956. expList' : exp . COMMA expList'
  1957. expList' : exp . (reduce by rule 45)
  1958.  
  1959. COMMA shift 120
  1960. LPAREN shift 68
  1961. PLUS shift 67
  1962. MINUS shift 66
  1963. TIMES shift 65
  1964. DIVIDE shift 64
  1965. EQ shift 63
  1966. NEQ shift 62
  1967. LT shift 61
  1968. LE shift 60
  1969. GT shift 59
  1970. GE shift 58
  1971. AND shift 57
  1972. OR shift 56
  1973.  
  1974. tyargs goto 55
  1975.  
  1976. . reduce by rule 45
  1977.  
  1978.  
  1979. state 106:
  1980.  
  1981. lambdaExp : LPAREN declList RPAREN . ARROW ty compoundStat
  1982.  
  1983. ARROW shift 121
  1984.  
  1985.  
  1986. . error
  1987.  
  1988.  
  1989. state 107:
  1990.  
  1991. primaryExp : LPAREN exp RPAREN . (reduce by rule 49)
  1992.  
  1993.  
  1994.  
  1995. . reduce by rule 49
  1996.  
  1997.  
  1998. state 108:
  1999.  
  2000. assignExp : ID ASSIGN exp . (reduce by rule 16)
  2001. callExp : exp . tyargs LPAREN expList RPAREN
  2002. callExp : exp . LPAREN expList RPAREN
  2003. boolExp : exp . AND exp
  2004. boolExp : exp . OR exp
  2005. opExp : exp . PLUS exp
  2006. opExp : exp . MINUS exp
  2007. opExp : exp . TIMES exp
  2008. opExp : exp . DIVIDE exp
  2009. opExp : exp . EQ exp
  2010. opExp : exp . NEQ exp
  2011. opExp : exp . GT exp
  2012. opExp : exp . LT exp
  2013. opExp : exp . GE exp
  2014. opExp : exp . LE exp
  2015.  
  2016. LPAREN shift 68
  2017. PLUS shift 67
  2018. MINUS shift 66
  2019. TIMES shift 65
  2020. DIVIDE shift 64
  2021. EQ shift 63
  2022. NEQ shift 62
  2023. LT shift 61
  2024. LE shift 60
  2025. GT shift 59
  2026. GE shift 58
  2027. AND shift 57
  2028. OR shift 56
  2029.  
  2030. tyargs goto 55
  2031.  
  2032. . reduce by rule 16
  2033.  
  2034.  
  2035. state 109:
  2036.  
  2037. assignExp : ID DIVIDEASSIGN exp . (reduce by rule 20)
  2038. callExp : exp . tyargs LPAREN expList RPAREN
  2039. callExp : exp . LPAREN expList RPAREN
  2040. boolExp : exp . AND exp
  2041. boolExp : exp . OR exp
  2042. opExp : exp . PLUS exp
  2043. opExp : exp . MINUS exp
  2044. opExp : exp . TIMES exp
  2045. opExp : exp . DIVIDE exp
  2046. opExp : exp . EQ exp
  2047. opExp : exp . NEQ exp
  2048. opExp : exp . GT exp
  2049. opExp : exp . LT exp
  2050. opExp : exp . GE exp
  2051. opExp : exp . LE exp
  2052.  
  2053. LPAREN shift 68
  2054. PLUS shift 67
  2055. MINUS shift 66
  2056. TIMES shift 65
  2057. DIVIDE shift 64
  2058. EQ shift 63
  2059. NEQ shift 62
  2060. LT shift 61
  2061. LE shift 60
  2062. GT shift 59
  2063. GE shift 58
  2064. AND shift 57
  2065. OR shift 56
  2066.  
  2067. tyargs goto 55
  2068.  
  2069. . reduce by rule 20
  2070.  
  2071.  
  2072. state 110:
  2073.  
  2074. assignExp : ID TIMESASSIGN exp . (reduce by rule 19)
  2075. callExp : exp . tyargs LPAREN expList RPAREN
  2076. callExp : exp . LPAREN expList RPAREN
  2077. boolExp : exp . AND exp
  2078. boolExp : exp . OR exp
  2079. opExp : exp . PLUS exp
  2080. opExp : exp . MINUS exp
  2081. opExp : exp . TIMES exp
  2082. opExp : exp . DIVIDE exp
  2083. opExp : exp . EQ exp
  2084. opExp : exp . NEQ exp
  2085. opExp : exp . GT exp
  2086. opExp : exp . LT exp
  2087. opExp : exp . GE exp
  2088. opExp : exp . LE exp
  2089.  
  2090. LPAREN shift 68
  2091. PLUS shift 67
  2092. MINUS shift 66
  2093. TIMES shift 65
  2094. DIVIDE shift 64
  2095. EQ shift 63
  2096. NEQ shift 62
  2097. LT shift 61
  2098. LE shift 60
  2099. GT shift 59
  2100. GE shift 58
  2101. AND shift 57
  2102. OR shift 56
  2103.  
  2104. tyargs goto 55
  2105.  
  2106. . reduce by rule 19
  2107.  
  2108.  
  2109. state 111:
  2110.  
  2111. assignExp : ID MINUSASSIGN exp . (reduce by rule 18)
  2112. callExp : exp . tyargs LPAREN expList RPAREN
  2113. callExp : exp . LPAREN expList RPAREN
  2114. boolExp : exp . AND exp
  2115. boolExp : exp . OR exp
  2116. opExp : exp . PLUS exp
  2117. opExp : exp . MINUS exp
  2118. opExp : exp . TIMES exp
  2119. opExp : exp . DIVIDE exp
  2120. opExp : exp . EQ exp
  2121. opExp : exp . NEQ exp
  2122. opExp : exp . GT exp
  2123. opExp : exp . LT exp
  2124. opExp : exp . GE exp
  2125. opExp : exp . LE exp
  2126.  
  2127. LPAREN shift 68
  2128. PLUS shift 67
  2129. MINUS shift 66
  2130. TIMES shift 65
  2131. DIVIDE shift 64
  2132. EQ shift 63
  2133. NEQ shift 62
  2134. LT shift 61
  2135. LE shift 60
  2136. GT shift 59
  2137. GE shift 58
  2138. AND shift 57
  2139. OR shift 56
  2140.  
  2141. tyargs goto 55
  2142.  
  2143. . reduce by rule 18
  2144.  
  2145.  
  2146. state 112:
  2147.  
  2148. assignExp : ID PLUSASSIGN exp . (reduce by rule 17)
  2149. callExp : exp . tyargs LPAREN expList RPAREN
  2150. callExp : exp . LPAREN expList RPAREN
  2151. boolExp : exp . AND exp
  2152. boolExp : exp . OR exp
  2153. opExp : exp . PLUS exp
  2154. opExp : exp . MINUS exp
  2155. opExp : exp . TIMES exp
  2156. opExp : exp . DIVIDE exp
  2157. opExp : exp . EQ exp
  2158. opExp : exp . NEQ exp
  2159. opExp : exp . GT exp
  2160. opExp : exp . LT exp
  2161. opExp : exp . GE exp
  2162. opExp : exp . LE exp
  2163.  
  2164. LPAREN shift 68
  2165. PLUS shift 67
  2166. MINUS shift 66
  2167. TIMES shift 65
  2168. DIVIDE shift 64
  2169. EQ shift 63
  2170. NEQ shift 62
  2171. LT shift 61
  2172. LE shift 60
  2173. GT shift 59
  2174. GE shift 58
  2175. AND shift 57
  2176. OR shift 56
  2177.  
  2178. tyargs goto 55
  2179.  
  2180. . reduce by rule 17
  2181.  
  2182.  
  2183. state 113:
  2184.  
  2185. ty : FUN LPAREN typeList RPAREN ARROW ty . (reduce by rule 6)
  2186.  
  2187.  
  2188.  
  2189. . reduce by rule 6
  2190.  
  2191.  
  2192. state 114:
  2193.  
  2194. functionDecl : FUN ID tyvars LPAREN declList RPAREN . ARROW ty compoundStat
  2195.  
  2196. ARROW shift 122
  2197.  
  2198.  
  2199. . error
  2200.  
  2201.  
  2202. state 115:
  2203.  
  2204. idList : ID COMMA idList . (reduce by rule 86)
  2205.  
  2206.  
  2207.  
  2208. . reduce by rule 86
  2209.  
  2210.  
  2211. state 116:
  2212.  
  2213. functionDecl : FUN ID LPAREN declList RPAREN ARROW . ty compoundStat
  2214.  
  2215. ID shift 7
  2216. FUN shift 22
  2217.  
  2218. ty goto 123
  2219.  
  2220. . error
  2221.  
  2222.  
  2223. state 117:
  2224.  
  2225. declList' : varDecl COMMA declList' . (reduce by rule 84)
  2226.  
  2227.  
  2228.  
  2229. . reduce by rule 84
  2230.  
  2231.  
  2232. state 118:
  2233.  
  2234. callExp : exp tyargs LPAREN expList . RPAREN
  2235.  
  2236. RPAREN shift 124
  2237.  
  2238.  
  2239. . error
  2240.  
  2241.  
  2242. state 119:
  2243.  
  2244. callExp : exp LPAREN expList RPAREN . (reduce by rule 23)
  2245.  
  2246.  
  2247.  
  2248. . reduce by rule 23
  2249.  
  2250.  
  2251. state 120:
  2252.  
  2253. expList' : exp COMMA . expList'
  2254.  
  2255. ID shift 44
  2256. INT shift 43
  2257. STRING shift 42
  2258. FLOAT shift 41
  2259. BOOL shift 40
  2260. LPAREN shift 39
  2261. MINUS shift 38
  2262. BANG shift 37
  2263. PLUSPLUS shift 36
  2264. MINUSMINUS shift 35
  2265.  
  2266. const goto 34
  2267. exp goto 105
  2268. assignExp goto 32
  2269. callExp goto 31
  2270. boolExp goto 30
  2271. opExp goto 29
  2272. expList' goto 125
  2273. primaryExp goto 28
  2274. lambdaExp goto 27
  2275.  
  2276. . error
  2277.  
  2278.  
  2279. state 121:
  2280.  
  2281. lambdaExp : LPAREN declList RPAREN ARROW . ty compoundStat
  2282.  
  2283. ID shift 7
  2284. FUN shift 22
  2285.  
  2286. ty goto 126
  2287.  
  2288. . error
  2289.  
  2290.  
  2291. state 122:
  2292.  
  2293. functionDecl : FUN ID tyvars LPAREN declList RPAREN ARROW . ty compoundStat
  2294.  
  2295. ID shift 7
  2296. FUN shift 22
  2297.  
  2298. ty goto 127
  2299.  
  2300. . error
  2301.  
  2302.  
  2303. state 123:
  2304.  
  2305. functionDecl : FUN ID LPAREN declList RPAREN ARROW ty . compoundStat
  2306.  
  2307. LBRACE shift 129
  2308.  
  2309. compoundStat goto 128
  2310.  
  2311. . error
  2312.  
  2313.  
  2314. state 124:
  2315.  
  2316. callExp : exp tyargs LPAREN expList RPAREN . (reduce by rule 22)
  2317.  
  2318.  
  2319.  
  2320. . reduce by rule 22
  2321.  
  2322.  
  2323. state 125:
  2324.  
  2325. expList' : exp COMMA expList' . (reduce by rule 44)
  2326.  
  2327.  
  2328.  
  2329. . reduce by rule 44
  2330.  
  2331.  
  2332. state 126:
  2333.  
  2334. lambdaExp : LPAREN declList RPAREN ARROW ty . compoundStat
  2335.  
  2336. LBRACE shift 129
  2337.  
  2338. compoundStat goto 130
  2339.  
  2340. . error
  2341.  
  2342.  
  2343. state 127:
  2344.  
  2345. functionDecl : FUN ID tyvars LPAREN declList RPAREN ARROW ty . compoundStat
  2346.  
  2347. LBRACE shift 129
  2348.  
  2349. compoundStat goto 131
  2350.  
  2351. . error
  2352.  
  2353.  
  2354. state 128:
  2355.  
  2356. functionDecl : FUN ID LPAREN declList RPAREN ARROW ty compoundStat . (reduce by rule 90)
  2357.  
  2358.  
  2359.  
  2360. . reduce by rule 90
  2361.  
  2362.  
  2363. state 129:
  2364.  
  2365. compoundStat : LBRACE . statList RBRACE
  2366.  
  2367. ID shift 75
  2368. INT shift 43
  2369. STRING shift 42
  2370. FLOAT shift 41
  2371. BOOL shift 40
  2372. SEMICOLON shift 146
  2373. LPAREN shift 39
  2374. LBRACE shift 129
  2375. MINUS shift 38
  2376. BANG shift 37
  2377. PLUSPLUS shift 36
  2378. MINUSMINUS shift 35
  2379. IF shift 145
  2380. WHILE shift 144
  2381. FOR shift 143
  2382. FUN shift 22
  2383. VAR shift 5
  2384. BREAK shift 142
  2385. RETURN shift 141
  2386.  
  2387. const goto 34
  2388. ty goto 4
  2389. exp goto 140
  2390. assignExp goto 32
  2391. callExp goto 31
  2392. boolExp goto 30
  2393. opExp goto 29
  2394. primaryExp goto 28
  2395. varDecl goto 139
  2396. expStat goto 138
  2397. statList goto 137
  2398. compoundStat goto 136
  2399. selectionStat goto 135
  2400. jumpStat goto 134
  2401. iterationStat goto 133
  2402. stat goto 132
  2403. lambdaExp goto 27
  2404.  
  2405. . reduce by rule 56
  2406.  
  2407.  
  2408. state 130:
  2409.  
  2410. lambdaExp : LPAREN declList RPAREN ARROW ty compoundStat . (reduce by rule 91)
  2411.  
  2412.  
  2413.  
  2414. . reduce by rule 91
  2415.  
  2416.  
  2417. state 131:
  2418.  
  2419. functionDecl : FUN ID tyvars LPAREN declList RPAREN ARROW ty compoundStat . (reduce by rule 89)
  2420.  
  2421.  
  2422.  
  2423. . reduce by rule 89
  2424.  
  2425.  
  2426. state 132:
  2427.  
  2428. statList : stat . statList
  2429.  
  2430. ID shift 75
  2431. INT shift 43
  2432. STRING shift 42
  2433. FLOAT shift 41
  2434. BOOL shift 40
  2435. SEMICOLON shift 146
  2436. LPAREN shift 39
  2437. LBRACE shift 129
  2438. MINUS shift 38
  2439. BANG shift 37
  2440. PLUSPLUS shift 36
  2441. MINUSMINUS shift 35
  2442. IF shift 145
  2443. WHILE shift 144
  2444. FOR shift 143
  2445. FUN shift 22
  2446. VAR shift 5
  2447. BREAK shift 142
  2448. RETURN shift 141
  2449.  
  2450. const goto 34
  2451. ty goto 4
  2452. exp goto 140
  2453. assignExp goto 32
  2454. callExp goto 31
  2455. boolExp goto 30
  2456. opExp goto 29
  2457. primaryExp goto 28
  2458. varDecl goto 139
  2459. expStat goto 138
  2460. statList goto 147
  2461. compoundStat goto 136
  2462. selectionStat goto 135
  2463. jumpStat goto 134
  2464. iterationStat goto 133
  2465. stat goto 132
  2466. lambdaExp goto 27
  2467.  
  2468. . reduce by rule 56
  2469.  
  2470.  
  2471. state 133:
  2472.  
  2473. stat : iterationStat . (reduce by rule 79)
  2474.  
  2475.  
  2476.  
  2477. . reduce by rule 79
  2478.  
  2479.  
  2480. state 134:
  2481.  
  2482. stat : jumpStat . SEMICOLON
  2483.  
  2484. SEMICOLON shift 148
  2485.  
  2486.  
  2487. . error
  2488.  
  2489.  
  2490. state 135:
  2491.  
  2492. stat : selectionStat . (reduce by rule 78)
  2493.  
  2494.  
  2495.  
  2496. . reduce by rule 78
  2497.  
  2498.  
  2499. state 136:
  2500.  
  2501. stat : compoundStat . (reduce by rule 77)
  2502.  
  2503.  
  2504.  
  2505. . reduce by rule 77
  2506.  
  2507.  
  2508. state 137:
  2509.  
  2510. compoundStat : LBRACE statList . RBRACE
  2511.  
  2512. RBRACE shift 149
  2513.  
  2514.  
  2515. . error
  2516.  
  2517.  
  2518. state 138:
  2519.  
  2520. stat : expStat . (reduce by rule 76)
  2521.  
  2522.  
  2523.  
  2524. . reduce by rule 76
  2525.  
  2526.  
  2527. state 139:
  2528.  
  2529. stat : varDecl . SEMICOLON
  2530.  
  2531. SEMICOLON shift 150
  2532.  
  2533.  
  2534. . error
  2535.  
  2536.  
  2537. state 140:
  2538.  
  2539. callExp : exp . tyargs LPAREN expList RPAREN
  2540. callExp : exp . LPAREN expList RPAREN
  2541. boolExp : exp . AND exp
  2542. boolExp : exp . OR exp
  2543. opExp : exp . PLUS exp
  2544. opExp : exp . MINUS exp
  2545. opExp : exp . TIMES exp
  2546. opExp : exp . DIVIDE exp
  2547. opExp : exp . EQ exp
  2548. opExp : exp . NEQ exp
  2549. opExp : exp . GT exp
  2550. opExp : exp . LT exp
  2551. opExp : exp . GE exp
  2552. opExp : exp . LE exp
  2553. expStat : exp . SEMICOLON
  2554.  
  2555. SEMICOLON shift 151
  2556. LPAREN shift 68
  2557. PLUS shift 67
  2558. MINUS shift 66
  2559. TIMES shift 65
  2560. DIVIDE shift 64
  2561. EQ shift 63
  2562. NEQ shift 62
  2563. LT shift 61
  2564. LE shift 60
  2565. GT shift 59
  2566. GE shift 58
  2567. AND shift 57
  2568. OR shift 56
  2569.  
  2570. tyargs goto 55
  2571.  
  2572. . error
  2573.  
  2574.  
  2575. state 141:
  2576.  
  2577. jumpStat : RETURN . exp
  2578. jumpStat : RETURN . (reduce by rule 61)
  2579.  
  2580. ID shift 44
  2581. INT shift 43
  2582. STRING shift 42
  2583. FLOAT shift 41
  2584. BOOL shift 40
  2585. LPAREN shift 39
  2586. MINUS shift 38
  2587. BANG shift 37
  2588. PLUSPLUS shift 36
  2589. MINUSMINUS shift 35
  2590.  
  2591. const goto 34
  2592. exp goto 152
  2593. assignExp goto 32
  2594. callExp goto 31
  2595. boolExp goto 30
  2596. opExp goto 29
  2597. primaryExp goto 28
  2598. lambdaExp goto 27
  2599.  
  2600. . reduce by rule 61
  2601.  
  2602.  
  2603. state 142:
  2604.  
  2605. jumpStat : BREAK . (reduce by rule 62)
  2606.  
  2607.  
  2608.  
  2609. . reduce by rule 62
  2610.  
  2611.  
  2612. state 143:
  2613.  
  2614. iterationStat : FOR . LPAREN SEMICOLON SEMICOLON RPAREN stat
  2615. iterationStat : FOR . LPAREN SEMICOLON SEMICOLON exp RPAREN stat
  2616. iterationStat : FOR . LPAREN SEMICOLON exp SEMICOLON RPAREN stat
  2617. iterationStat : FOR . LPAREN SEMICOLON exp SEMICOLON exp RPAREN stat
  2618. iterationStat : FOR . LPAREN varDecl SEMICOLON SEMICOLON RPAREN stat
  2619. iterationStat : FOR . LPAREN varDecl SEMICOLON SEMICOLON exp RPAREN stat
  2620. iterationStat : FOR . LPAREN varDecl SEMICOLON exp SEMICOLON RPAREN stat
  2621. iterationStat : FOR . LPAREN varDecl SEMICOLON exp SEMICOLON exp RPAREN stat
  2622. iterationStat : FOR . LPAREN exp SEMICOLON SEMICOLON RPAREN stat
  2623. iterationStat : FOR . LPAREN exp SEMICOLON SEMICOLON exp RPAREN stat
  2624. iterationStat : FOR . LPAREN exp SEMICOLON exp SEMICOLON RPAREN stat
  2625. iterationStat : FOR . LPAREN exp SEMICOLON exp SEMICOLON exp RPAREN stat
  2626.  
  2627. LPAREN shift 153
  2628.  
  2629.  
  2630. . error
  2631.  
  2632.  
  2633. state 144:
  2634.  
  2635. iterationStat : WHILE . LPAREN exp RPAREN stat
  2636.  
  2637. LPAREN shift 154
  2638.  
  2639.  
  2640. . error
  2641.  
  2642.  
  2643. state 145:
  2644.  
  2645. selectionStat : IF . LPAREN exp RPAREN stat ELSE stat
  2646. selectionStat : IF . LPAREN exp RPAREN stat
  2647.  
  2648. LPAREN shift 155
  2649.  
  2650.  
  2651. . error
  2652.  
  2653.  
  2654. state 146:
  2655.  
  2656. expStat : SEMICOLON . (reduce by rule 54)
  2657.  
  2658.  
  2659.  
  2660. . reduce by rule 54
  2661.  
  2662.  
  2663. state 147:
  2664.  
  2665. statList : stat statList . (reduce by rule 55)
  2666.  
  2667.  
  2668.  
  2669. . reduce by rule 55
  2670.  
  2671.  
  2672. state 148:
  2673.  
  2674. stat : jumpStat SEMICOLON . (reduce by rule 80)
  2675.  
  2676.  
  2677.  
  2678. . reduce by rule 80
  2679.  
  2680.  
  2681. state 149:
  2682.  
  2683. compoundStat : LBRACE statList RBRACE . (reduce by rule 57)
  2684.  
  2685.  
  2686.  
  2687. . reduce by rule 57
  2688.  
  2689.  
  2690. state 150:
  2691.  
  2692. stat : varDecl SEMICOLON . (reduce by rule 81)
  2693.  
  2694.  
  2695.  
  2696. . reduce by rule 81
  2697.  
  2698.  
  2699. state 151:
  2700.  
  2701. expStat : exp SEMICOLON . (reduce by rule 53)
  2702.  
  2703.  
  2704.  
  2705. . reduce by rule 53
  2706.  
  2707.  
  2708. state 152:
  2709.  
  2710. callExp : exp . tyargs LPAREN expList RPAREN
  2711. callExp : exp . LPAREN expList RPAREN
  2712. boolExp : exp . AND exp
  2713. boolExp : exp . OR exp
  2714. opExp : exp . PLUS exp
  2715. opExp : exp . MINUS exp
  2716. opExp : exp . TIMES exp
  2717. opExp : exp . DIVIDE exp
  2718. opExp : exp . EQ exp
  2719. opExp : exp . NEQ exp
  2720. opExp : exp . GT exp
  2721. opExp : exp . LT exp
  2722. opExp : exp . GE exp
  2723. opExp : exp . LE exp
  2724. jumpStat : RETURN exp . (reduce by rule 60)
  2725.  
  2726. LPAREN shift 68
  2727. PLUS shift 67
  2728. MINUS shift 66
  2729. TIMES shift 65
  2730. DIVIDE shift 64
  2731. EQ shift 63
  2732. NEQ shift 62
  2733. LT shift 61
  2734. LE shift 60
  2735. GT shift 59
  2736. GE shift 58
  2737. AND shift 57
  2738. OR shift 56
  2739.  
  2740. tyargs goto 55
  2741.  
  2742. . reduce by rule 60
  2743.  
  2744.  
  2745. state 153:
  2746.  
  2747. iterationStat : FOR LPAREN . SEMICOLON SEMICOLON RPAREN stat
  2748. iterationStat : FOR LPAREN . SEMICOLON SEMICOLON exp RPAREN stat
  2749. iterationStat : FOR LPAREN . SEMICOLON exp SEMICOLON RPAREN stat
  2750. iterationStat : FOR LPAREN . SEMICOLON exp SEMICOLON exp RPAREN stat
  2751. iterationStat : FOR LPAREN . varDecl SEMICOLON SEMICOLON RPAREN stat
  2752. iterationStat : FOR LPAREN . varDecl SEMICOLON SEMICOLON exp RPAREN stat
  2753. iterationStat : FOR LPAREN . varDecl SEMICOLON exp SEMICOLON RPAREN stat
  2754. iterationStat : FOR LPAREN . varDecl SEMICOLON exp SEMICOLON exp RPAREN stat
  2755. iterationStat : FOR LPAREN . exp SEMICOLON SEMICOLON RPAREN stat
  2756. iterationStat : FOR LPAREN . exp SEMICOLON SEMICOLON exp RPAREN stat
  2757. iterationStat : FOR LPAREN . exp SEMICOLON exp SEMICOLON RPAREN stat
  2758. iterationStat : FOR LPAREN . exp SEMICOLON exp SEMICOLON exp RPAREN stat
  2759.  
  2760. ID shift 75
  2761. INT shift 43
  2762. STRING shift 42
  2763. FLOAT shift 41
  2764. BOOL shift 40
  2765. SEMICOLON shift 158
  2766. LPAREN shift 39
  2767. MINUS shift 38
  2768. BANG shift 37
  2769. PLUSPLUS shift 36
  2770. MINUSMINUS shift 35
  2771. FUN shift 22
  2772. VAR shift 5
  2773.  
  2774. const goto 34
  2775. ty goto 4
  2776. exp goto 157
  2777. assignExp goto 32
  2778. callExp goto 31
  2779. boolExp goto 30
  2780. opExp goto 29
  2781. primaryExp goto 28
  2782. varDecl goto 156
  2783. lambdaExp goto 27
  2784.  
  2785. . error
  2786.  
  2787.  
  2788. state 154:
  2789.  
  2790. iterationStat : WHILE LPAREN . exp RPAREN stat
  2791.  
  2792. ID shift 44
  2793. INT shift 43
  2794. STRING shift 42
  2795. FLOAT shift 41
  2796. BOOL shift 40
  2797. LPAREN shift 39
  2798. MINUS shift 38
  2799. BANG shift 37
  2800. PLUSPLUS shift 36
  2801. MINUSMINUS shift 35
  2802.  
  2803. const goto 34
  2804. exp goto 159
  2805. assignExp goto 32
  2806. callExp goto 31
  2807. boolExp goto 30
  2808. opExp goto 29
  2809. primaryExp goto 28
  2810. lambdaExp goto 27
  2811.  
  2812. . error
  2813.  
  2814.  
  2815. state 155:
  2816.  
  2817. selectionStat : IF LPAREN . exp RPAREN stat ELSE stat
  2818. selectionStat : IF LPAREN . exp RPAREN stat
  2819.  
  2820. ID shift 44
  2821. INT shift 43
  2822. STRING shift 42
  2823. FLOAT shift 41
  2824. BOOL shift 40
  2825. LPAREN shift 39
  2826. MINUS shift 38
  2827. BANG shift 37
  2828. PLUSPLUS shift 36
  2829. MINUSMINUS shift 35
  2830.  
  2831. const goto 34
  2832. exp goto 160
  2833. assignExp goto 32
  2834. callExp goto 31
  2835. boolExp goto 30
  2836. opExp goto 29
  2837. primaryExp goto 28
  2838. lambdaExp goto 27
  2839.  
  2840. . error
  2841.  
  2842.  
  2843. state 156:
  2844.  
  2845. iterationStat : FOR LPAREN varDecl . SEMICOLON SEMICOLON RPAREN stat
  2846. iterationStat : FOR LPAREN varDecl . SEMICOLON SEMICOLON exp RPAREN stat
  2847. iterationStat : FOR LPAREN varDecl . SEMICOLON exp SEMICOLON RPAREN stat
  2848. iterationStat : FOR LPAREN varDecl . SEMICOLON exp SEMICOLON exp RPAREN stat
  2849.  
  2850. SEMICOLON shift 161
  2851.  
  2852.  
  2853. . error
  2854.  
  2855.  
  2856. state 157:
  2857.  
  2858. callExp : exp . tyargs LPAREN expList RPAREN
  2859. callExp : exp . LPAREN expList RPAREN
  2860. boolExp : exp . AND exp
  2861. boolExp : exp . OR exp
  2862. opExp : exp . PLUS exp
  2863. opExp : exp . MINUS exp
  2864. opExp : exp . TIMES exp
  2865. opExp : exp . DIVIDE exp
  2866. opExp : exp . EQ exp
  2867. opExp : exp . NEQ exp
  2868. opExp : exp . GT exp
  2869. opExp : exp . LT exp
  2870. opExp : exp . GE exp
  2871. opExp : exp . LE exp
  2872. iterationStat : FOR LPAREN exp . SEMICOLON SEMICOLON RPAREN stat
  2873. iterationStat : FOR LPAREN exp . SEMICOLON SEMICOLON exp RPAREN stat
  2874. iterationStat : FOR LPAREN exp . SEMICOLON exp SEMICOLON RPAREN stat
  2875. iterationStat : FOR LPAREN exp . SEMICOLON exp SEMICOLON exp RPAREN stat
  2876.  
  2877. SEMICOLON shift 162
  2878. LPAREN shift 68
  2879. PLUS shift 67
  2880. MINUS shift 66
  2881. TIMES shift 65
  2882. DIVIDE shift 64
  2883. EQ shift 63
  2884. NEQ shift 62
  2885. LT shift 61
  2886. LE shift 60
  2887. GT shift 59
  2888. GE shift 58
  2889. AND shift 57
  2890. OR shift 56
  2891.  
  2892. tyargs goto 55
  2893.  
  2894. . error
  2895.  
  2896.  
  2897. state 158:
  2898.  
  2899. iterationStat : FOR LPAREN SEMICOLON . SEMICOLON RPAREN stat
  2900. iterationStat : FOR LPAREN SEMICOLON . SEMICOLON exp RPAREN stat
  2901. iterationStat : FOR LPAREN SEMICOLON . exp SEMICOLON RPAREN stat
  2902. iterationStat : FOR LPAREN SEMICOLON . exp SEMICOLON exp RPAREN stat
  2903.  
  2904. ID shift 44
  2905. INT shift 43
  2906. STRING shift 42
  2907. FLOAT shift 41
  2908. BOOL shift 40
  2909. SEMICOLON shift 164
  2910. LPAREN shift 39
  2911. MINUS shift 38
  2912. BANG shift 37
  2913. PLUSPLUS shift 36
  2914. MINUSMINUS shift 35
  2915.  
  2916. const goto 34
  2917. exp goto 163
  2918. assignExp goto 32
  2919. callExp goto 31
  2920. boolExp goto 30
  2921. opExp goto 29
  2922. primaryExp goto 28
  2923. lambdaExp goto 27
  2924.  
  2925. . error
  2926.  
  2927.  
  2928. state 159:
  2929.  
  2930. callExp : exp . tyargs LPAREN expList RPAREN
  2931. callExp : exp . LPAREN expList RPAREN
  2932. boolExp : exp . AND exp
  2933. boolExp : exp . OR exp
  2934. opExp : exp . PLUS exp
  2935. opExp : exp . MINUS exp
  2936. opExp : exp . TIMES exp
  2937. opExp : exp . DIVIDE exp
  2938. opExp : exp . EQ exp
  2939. opExp : exp . NEQ exp
  2940. opExp : exp . GT exp
  2941. opExp : exp . LT exp
  2942. opExp : exp . GE exp
  2943. opExp : exp . LE exp
  2944. iterationStat : WHILE LPAREN exp . RPAREN stat
  2945.  
  2946. LPAREN shift 68
  2947. RPAREN shift 165
  2948. PLUS shift 67
  2949. MINUS shift 66
  2950. TIMES shift 65
  2951. DIVIDE shift 64
  2952. EQ shift 63
  2953. NEQ shift 62
  2954. LT shift 61
  2955. LE shift 60
  2956. GT shift 59
  2957. GE shift 58
  2958. AND shift 57
  2959. OR shift 56
  2960.  
  2961. tyargs goto 55
  2962.  
  2963. . error
  2964.  
  2965.  
  2966. state 160:
  2967.  
  2968. callExp : exp . tyargs LPAREN expList RPAREN
  2969. callExp : exp . LPAREN expList RPAREN
  2970. boolExp : exp . AND exp
  2971. boolExp : exp . OR exp
  2972. opExp : exp . PLUS exp
  2973. opExp : exp . MINUS exp
  2974. opExp : exp . TIMES exp
  2975. opExp : exp . DIVIDE exp
  2976. opExp : exp . EQ exp
  2977. opExp : exp . NEQ exp
  2978. opExp : exp . GT exp
  2979. opExp : exp . LT exp
  2980. opExp : exp . GE exp
  2981. opExp : exp . LE exp
  2982. selectionStat : IF LPAREN exp . RPAREN stat ELSE stat
  2983. selectionStat : IF LPAREN exp . RPAREN stat
  2984.  
  2985. LPAREN shift 68
  2986. RPAREN shift 166
  2987. PLUS shift 67
  2988. MINUS shift 66
  2989. TIMES shift 65
  2990. DIVIDE shift 64
  2991. EQ shift 63
  2992. NEQ shift 62
  2993. LT shift 61
  2994. LE shift 60
  2995. GT shift 59
  2996. GE shift 58
  2997. AND shift 57
  2998. OR shift 56
  2999.  
  3000. tyargs goto 55
  3001.  
  3002. . error
  3003.  
  3004.  
  3005. state 161:
  3006.  
  3007. iterationStat : FOR LPAREN varDecl SEMICOLON . SEMICOLON RPAREN stat
  3008. iterationStat : FOR LPAREN varDecl SEMICOLON . SEMICOLON exp RPAREN stat
  3009. iterationStat : FOR LPAREN varDecl SEMICOLON . exp SEMICOLON RPAREN stat
  3010. iterationStat : FOR LPAREN varDecl SEMICOLON . exp SEMICOLON exp RPAREN stat
  3011.  
  3012. ID shift 44
  3013. INT shift 43
  3014. STRING shift 42
  3015. FLOAT shift 41
  3016. BOOL shift 40
  3017. SEMICOLON shift 168
  3018. LPAREN shift 39
  3019. MINUS shift 38
  3020. BANG shift 37
  3021. PLUSPLUS shift 36
  3022. MINUSMINUS shift 35
  3023.  
  3024. const goto 34
  3025. exp goto 167
  3026. assignExp goto 32
  3027. callExp goto 31
  3028. boolExp goto 30
  3029. opExp goto 29
  3030. primaryExp goto 28
  3031. lambdaExp goto 27
  3032.  
  3033. . error
  3034.  
  3035.  
  3036. state 162:
  3037.  
  3038. iterationStat : FOR LPAREN exp SEMICOLON . SEMICOLON RPAREN stat
  3039. iterationStat : FOR LPAREN exp SEMICOLON . SEMICOLON exp RPAREN stat
  3040. iterationStat : FOR LPAREN exp SEMICOLON . exp SEMICOLON RPAREN stat
  3041. iterationStat : FOR LPAREN exp SEMICOLON . exp SEMICOLON exp RPAREN stat
  3042.  
  3043. ID shift 44
  3044. INT shift 43
  3045. STRING shift 42
  3046. FLOAT shift 41
  3047. BOOL shift 40
  3048. SEMICOLON shift 170
  3049. LPAREN shift 39
  3050. MINUS shift 38
  3051. BANG shift 37
  3052. PLUSPLUS shift 36
  3053. MINUSMINUS shift 35
  3054.  
  3055. const goto 34
  3056. exp goto 169
  3057. assignExp goto 32
  3058. callExp goto 31
  3059. boolExp goto 30
  3060. opExp goto 29
  3061. primaryExp goto 28
  3062. lambdaExp goto 27
  3063.  
  3064. . error
  3065.  
  3066.  
  3067. state 163:
  3068.  
  3069. callExp : exp . tyargs LPAREN expList RPAREN
  3070. callExp : exp . LPAREN expList RPAREN
  3071. boolExp : exp . AND exp
  3072. boolExp : exp . OR exp
  3073. opExp : exp . PLUS exp
  3074. opExp : exp . MINUS exp
  3075. opExp : exp . TIMES exp
  3076. opExp : exp . DIVIDE exp
  3077. opExp : exp . EQ exp
  3078. opExp : exp . NEQ exp
  3079. opExp : exp . GT exp
  3080. opExp : exp . LT exp
  3081. opExp : exp . GE exp
  3082. opExp : exp . LE exp
  3083. iterationStat : FOR LPAREN SEMICOLON exp . SEMICOLON RPAREN stat
  3084. iterationStat : FOR LPAREN SEMICOLON exp . SEMICOLON exp RPAREN stat
  3085.  
  3086. SEMICOLON shift 171
  3087. LPAREN shift 68
  3088. PLUS shift 67
  3089. MINUS shift 66
  3090. TIMES shift 65
  3091. DIVIDE shift 64
  3092. EQ shift 63
  3093. NEQ shift 62
  3094. LT shift 61
  3095. LE shift 60
  3096. GT shift 59
  3097. GE shift 58
  3098. AND shift 57
  3099. OR shift 56
  3100.  
  3101. tyargs goto 55
  3102.  
  3103. . error
  3104.  
  3105.  
  3106. state 164:
  3107.  
  3108. iterationStat : FOR LPAREN SEMICOLON SEMICOLON . RPAREN stat
  3109. iterationStat : FOR LPAREN SEMICOLON SEMICOLON . exp RPAREN stat
  3110.  
  3111. ID shift 44
  3112. INT shift 43
  3113. STRING shift 42
  3114. FLOAT shift 41
  3115. BOOL shift 40
  3116. LPAREN shift 39
  3117. RPAREN shift 173
  3118. MINUS shift 38
  3119. BANG shift 37
  3120. PLUSPLUS shift 36
  3121. MINUSMINUS shift 35
  3122.  
  3123. const goto 34
  3124. exp goto 172
  3125. assignExp goto 32
  3126. callExp goto 31
  3127. boolExp goto 30
  3128. opExp goto 29
  3129. primaryExp goto 28
  3130. lambdaExp goto 27
  3131.  
  3132. . error
  3133.  
  3134.  
  3135. state 165:
  3136.  
  3137. iterationStat : WHILE LPAREN exp RPAREN . stat
  3138.  
  3139. ID shift 75
  3140. INT shift 43
  3141. STRING shift 42
  3142. FLOAT shift 41
  3143. BOOL shift 40
  3144. SEMICOLON shift 146
  3145. LPAREN shift 39
  3146. LBRACE shift 129
  3147. MINUS shift 38
  3148. BANG shift 37
  3149. PLUSPLUS shift 36
  3150. MINUSMINUS shift 35
  3151. IF shift 145
  3152. WHILE shift 144
  3153. FOR shift 143
  3154. FUN shift 22
  3155. VAR shift 5
  3156. BREAK shift 142
  3157. RETURN shift 141
  3158.  
  3159. const goto 34
  3160. ty goto 4
  3161. exp goto 140
  3162. assignExp goto 32
  3163. callExp goto 31
  3164. boolExp goto 30
  3165. opExp goto 29
  3166. primaryExp goto 28
  3167. varDecl goto 139
  3168. expStat goto 138
  3169. compoundStat goto 136
  3170. selectionStat goto 135
  3171. jumpStat goto 134
  3172. iterationStat goto 133
  3173. stat goto 174
  3174. lambdaExp goto 27
  3175.  
  3176. . error
  3177.  
  3178.  
  3179. state 166:
  3180.  
  3181. selectionStat : IF LPAREN exp RPAREN . stat ELSE stat
  3182. selectionStat : IF LPAREN exp RPAREN . stat
  3183.  
  3184. ID shift 75
  3185. INT shift 43
  3186. STRING shift 42
  3187. FLOAT shift 41
  3188. BOOL shift 40
  3189. SEMICOLON shift 146
  3190. LPAREN shift 39
  3191. LBRACE shift 129
  3192. MINUS shift 38
  3193. BANG shift 37
  3194. PLUSPLUS shift 36
  3195. MINUSMINUS shift 35
  3196. IF shift 145
  3197. WHILE shift 144
  3198. FOR shift 143
  3199. FUN shift 22
  3200. VAR shift 5
  3201. BREAK shift 142
  3202. RETURN shift 141
  3203.  
  3204. const goto 34
  3205. ty goto 4
  3206. exp goto 140
  3207. assignExp goto 32
  3208. callExp goto 31
  3209. boolExp goto 30
  3210. opExp goto 29
  3211. primaryExp goto 28
  3212. varDecl goto 139
  3213. expStat goto 138
  3214. compoundStat goto 136
  3215. selectionStat goto 135
  3216. jumpStat goto 134
  3217. iterationStat goto 133
  3218. stat goto 175
  3219. lambdaExp goto 27
  3220.  
  3221. . error
  3222.  
  3223.  
  3224. state 167:
  3225.  
  3226. callExp : exp . tyargs LPAREN expList RPAREN
  3227. callExp : exp . LPAREN expList RPAREN
  3228. boolExp : exp . AND exp
  3229. boolExp : exp . OR exp
  3230. opExp : exp . PLUS exp
  3231. opExp : exp . MINUS exp
  3232. opExp : exp . TIMES exp
  3233. opExp : exp . DIVIDE exp
  3234. opExp : exp . EQ exp
  3235. opExp : exp . NEQ exp
  3236. opExp : exp . GT exp
  3237. opExp : exp . LT exp
  3238. opExp : exp . GE exp
  3239. opExp : exp . LE exp
  3240. iterationStat : FOR LPAREN varDecl SEMICOLON exp . SEMICOLON RPAREN stat
  3241. iterationStat : FOR LPAREN varDecl SEMICOLON exp . SEMICOLON exp RPAREN stat
  3242.  
  3243. SEMICOLON shift 176
  3244. LPAREN shift 68
  3245. PLUS shift 67
  3246. MINUS shift 66
  3247. TIMES shift 65
  3248. DIVIDE shift 64
  3249. EQ shift 63
  3250. NEQ shift 62
  3251. LT shift 61
  3252. LE shift 60
  3253. GT shift 59
  3254. GE shift 58
  3255. AND shift 57
  3256. OR shift 56
  3257.  
  3258. tyargs goto 55
  3259.  
  3260. . error
  3261.  
  3262.  
  3263. state 168:
  3264.  
  3265. iterationStat : FOR LPAREN varDecl SEMICOLON SEMICOLON . RPAREN stat
  3266. iterationStat : FOR LPAREN varDecl SEMICOLON SEMICOLON . exp RPAREN stat
  3267.  
  3268. ID shift 44
  3269. INT shift 43
  3270. STRING shift 42
  3271. FLOAT shift 41
  3272. BOOL shift 40
  3273. LPAREN shift 39
  3274. RPAREN shift 178
  3275. MINUS shift 38
  3276. BANG shift 37
  3277. PLUSPLUS shift 36
  3278. MINUSMINUS shift 35
  3279.  
  3280. const goto 34
  3281. exp goto 177
  3282. assignExp goto 32
  3283. callExp goto 31
  3284. boolExp goto 30
  3285. opExp goto 29
  3286. primaryExp goto 28
  3287. lambdaExp goto 27
  3288.  
  3289. . error
  3290.  
  3291.  
  3292. state 169:
  3293.  
  3294. callExp : exp . tyargs LPAREN expList RPAREN
  3295. callExp : exp . LPAREN expList RPAREN
  3296. boolExp : exp . AND exp
  3297. boolExp : exp . OR exp
  3298. opExp : exp . PLUS exp
  3299. opExp : exp . MINUS exp
  3300. opExp : exp . TIMES exp
  3301. opExp : exp . DIVIDE exp
  3302. opExp : exp . EQ exp
  3303. opExp : exp . NEQ exp
  3304. opExp : exp . GT exp
  3305. opExp : exp . LT exp
  3306. opExp : exp . GE exp
  3307. opExp : exp . LE exp
  3308. iterationStat : FOR LPAREN exp SEMICOLON exp . SEMICOLON RPAREN stat
  3309. iterationStat : FOR LPAREN exp SEMICOLON exp . SEMICOLON exp RPAREN stat
  3310.  
  3311. SEMICOLON shift 179
  3312. LPAREN shift 68
  3313. PLUS shift 67
  3314. MINUS shift 66
  3315. TIMES shift 65
  3316. DIVIDE shift 64
  3317. EQ shift 63
  3318. NEQ shift 62
  3319. LT shift 61
  3320. LE shift 60
  3321. GT shift 59
  3322. GE shift 58
  3323. AND shift 57
  3324. OR shift 56
  3325.  
  3326. tyargs goto 55
  3327.  
  3328. . error
  3329.  
  3330.  
  3331. state 170:
  3332.  
  3333. iterationStat : FOR LPAREN exp SEMICOLON SEMICOLON . RPAREN stat
  3334. iterationStat : FOR LPAREN exp SEMICOLON SEMICOLON . exp RPAREN stat
  3335.  
  3336. ID shift 44
  3337. INT shift 43
  3338. STRING shift 42
  3339. FLOAT shift 41
  3340. BOOL shift 40
  3341. LPAREN shift 39
  3342. RPAREN shift 181
  3343. MINUS shift 38
  3344. BANG shift 37
  3345. PLUSPLUS shift 36
  3346. MINUSMINUS shift 35
  3347.  
  3348. const goto 34
  3349. exp goto 180
  3350. assignExp goto 32
  3351. callExp goto 31
  3352. boolExp goto 30
  3353. opExp goto 29
  3354. primaryExp goto 28
  3355. lambdaExp goto 27
  3356.  
  3357. . error
  3358.  
  3359.  
  3360. state 171:
  3361.  
  3362. iterationStat : FOR LPAREN SEMICOLON exp SEMICOLON . RPAREN stat
  3363. iterationStat : FOR LPAREN SEMICOLON exp SEMICOLON . exp RPAREN stat
  3364.  
  3365. ID shift 44
  3366. INT shift 43
  3367. STRING shift 42
  3368. FLOAT shift 41
  3369. BOOL shift 40
  3370. LPAREN shift 39
  3371. RPAREN shift 183
  3372. MINUS shift 38
  3373. BANG shift 37
  3374. PLUSPLUS shift 36
  3375. MINUSMINUS shift 35
  3376.  
  3377. const goto 34
  3378. exp goto 182
  3379. assignExp goto 32
  3380. callExp goto 31
  3381. boolExp goto 30
  3382. opExp goto 29
  3383. primaryExp goto 28
  3384. lambdaExp goto 27
  3385.  
  3386. . error
  3387.  
  3388.  
  3389. state 172:
  3390.  
  3391. callExp : exp . tyargs LPAREN expList RPAREN
  3392. callExp : exp . LPAREN expList RPAREN
  3393. boolExp : exp . AND exp
  3394. boolExp : exp . OR exp
  3395. opExp : exp . PLUS exp
  3396. opExp : exp . MINUS exp
  3397. opExp : exp . TIMES exp
  3398. opExp : exp . DIVIDE exp
  3399. opExp : exp . EQ exp
  3400. opExp : exp . NEQ exp
  3401. opExp : exp . GT exp
  3402. opExp : exp . LT exp
  3403. opExp : exp . GE exp
  3404. opExp : exp . LE exp
  3405. iterationStat : FOR LPAREN SEMICOLON SEMICOLON exp . RPAREN stat
  3406.  
  3407. LPAREN shift 68
  3408. RPAREN shift 184
  3409. PLUS shift 67
  3410. MINUS shift 66
  3411. TIMES shift 65
  3412. DIVIDE shift 64
  3413. EQ shift 63
  3414. NEQ shift 62
  3415. LT shift 61
  3416. LE shift 60
  3417. GT shift 59
  3418. GE shift 58
  3419. AND shift 57
  3420. OR shift 56
  3421.  
  3422. tyargs goto 55
  3423.  
  3424. . error
  3425.  
  3426.  
  3427. state 173:
  3428.  
  3429. iterationStat : FOR LPAREN SEMICOLON SEMICOLON RPAREN . stat
  3430.  
  3431. ID shift 75
  3432. INT shift 43
  3433. STRING shift 42
  3434. FLOAT shift 41
  3435. BOOL shift 40
  3436. SEMICOLON shift 146
  3437. LPAREN shift 39
  3438. LBRACE shift 129
  3439. MINUS shift 38
  3440. BANG shift 37
  3441. PLUSPLUS shift 36
  3442. MINUSMINUS shift 35
  3443. IF shift 145
  3444. WHILE shift 144
  3445. FOR shift 143
  3446. FUN shift 22
  3447. VAR shift 5
  3448. BREAK shift 142
  3449. RETURN shift 141
  3450.  
  3451. const goto 34
  3452. ty goto 4
  3453. exp goto 140
  3454. assignExp goto 32
  3455. callExp goto 31
  3456. boolExp goto 30
  3457. opExp goto 29
  3458. primaryExp goto 28
  3459. varDecl goto 139
  3460. expStat goto 138
  3461. compoundStat goto 136
  3462. selectionStat goto 135
  3463. jumpStat goto 134
  3464. iterationStat goto 133
  3465. stat goto 185
  3466. lambdaExp goto 27
  3467.  
  3468. . error
  3469.  
  3470.  
  3471. state 174:
  3472.  
  3473. iterationStat : WHILE LPAREN exp RPAREN stat . (reduce by rule 63)
  3474.  
  3475.  
  3476.  
  3477. . reduce by rule 63
  3478.  
  3479. error: state 175: shift/reduce conflict (shift ELSE, reduce by rule 59)
  3480.  
  3481. state 175:
  3482.  
  3483. selectionStat : IF LPAREN exp RPAREN stat . ELSE stat
  3484. selectionStat : IF LPAREN exp RPAREN stat . (reduce by rule 59)
  3485.  
  3486. ELSE shift 186
  3487.  
  3488.  
  3489. . reduce by rule 59
  3490.  
  3491.  
  3492. state 176:
  3493.  
  3494. iterationStat : FOR LPAREN varDecl SEMICOLON exp SEMICOLON . RPAREN stat
  3495. iterationStat : FOR LPAREN varDecl SEMICOLON exp SEMICOLON . exp RPAREN stat
  3496.  
  3497. ID shift 44
  3498. INT shift 43
  3499. STRING shift 42
  3500. FLOAT shift 41
  3501. BOOL shift 40
  3502. LPAREN shift 39
  3503. RPAREN shift 188
  3504. MINUS shift 38
  3505. BANG shift 37
  3506. PLUSPLUS shift 36
  3507. MINUSMINUS shift 35
  3508.  
  3509. const goto 34
  3510. exp goto 187
  3511. assignExp goto 32
  3512. callExp goto 31
  3513. boolExp goto 30
  3514. opExp goto 29
  3515. primaryExp goto 28
  3516. lambdaExp goto 27
  3517.  
  3518. . error
  3519.  
  3520.  
  3521. state 177:
  3522.  
  3523. callExp : exp . tyargs LPAREN expList RPAREN
  3524. callExp : exp . LPAREN expList RPAREN
  3525. boolExp : exp . AND exp
  3526. boolExp : exp . OR exp
  3527. opExp : exp . PLUS exp
  3528. opExp : exp . MINUS exp
  3529. opExp : exp . TIMES exp
  3530. opExp : exp . DIVIDE exp
  3531. opExp : exp . EQ exp
  3532. opExp : exp . NEQ exp
  3533. opExp : exp . GT exp
  3534. opExp : exp . LT exp
  3535. opExp : exp . GE exp
  3536. opExp : exp . LE exp
  3537. iterationStat : FOR LPAREN varDecl SEMICOLON SEMICOLON exp . RPAREN stat
  3538.  
  3539. LPAREN shift 68
  3540. RPAREN shift 189
  3541. PLUS shift 67
  3542. MINUS shift 66
  3543. TIMES shift 65
  3544. DIVIDE shift 64
  3545. EQ shift 63
  3546. NEQ shift 62
  3547. LT shift 61
  3548. LE shift 60
  3549. GT shift 59
  3550. GE shift 58
  3551. AND shift 57
  3552. OR shift 56
  3553.  
  3554. tyargs goto 55
  3555.  
  3556. . error
  3557.  
  3558.  
  3559. state 178:
  3560.  
  3561. iterationStat : FOR LPAREN varDecl SEMICOLON SEMICOLON RPAREN . stat
  3562.  
  3563. ID shift 75
  3564. INT shift 43
  3565. STRING shift 42
  3566. FLOAT shift 41
  3567. BOOL shift 40
  3568. SEMICOLON shift 146
  3569. LPAREN shift 39
  3570. LBRACE shift 129
  3571. MINUS shift 38
  3572. BANG shift 37
  3573. PLUSPLUS shift 36
  3574. MINUSMINUS shift 35
  3575. IF shift 145
  3576. WHILE shift 144
  3577. FOR shift 143
  3578. FUN shift 22
  3579. VAR shift 5
  3580. BREAK shift 142
  3581. RETURN shift 141
  3582.  
  3583. const goto 34
  3584. ty goto 4
  3585. exp goto 140
  3586. assignExp goto 32
  3587. callExp goto 31
  3588. boolExp goto 30
  3589. opExp goto 29
  3590. primaryExp goto 28
  3591. varDecl goto 139
  3592. expStat goto 138
  3593. compoundStat goto 136
  3594. selectionStat goto 135
  3595. jumpStat goto 134
  3596. iterationStat goto 133
  3597. stat goto 190
  3598. lambdaExp goto 27
  3599.  
  3600. . error
  3601.  
  3602.  
  3603. state 179:
  3604.  
  3605. iterationStat : FOR LPAREN exp SEMICOLON exp SEMICOLON . RPAREN stat
  3606. iterationStat : FOR LPAREN exp SEMICOLON exp SEMICOLON . exp RPAREN stat
  3607.  
  3608. ID shift 44
  3609. INT shift 43
  3610. STRING shift 42
  3611. FLOAT shift 41
  3612. BOOL shift 40
  3613. LPAREN shift 39
  3614. RPAREN shift 192
  3615. MINUS shift 38
  3616. BANG shift 37
  3617. PLUSPLUS shift 36
  3618. MINUSMINUS shift 35
  3619.  
  3620. const goto 34
  3621. exp goto 191
  3622. assignExp goto 32
  3623. callExp goto 31
  3624. boolExp goto 30
  3625. opExp goto 29
  3626. primaryExp goto 28
  3627. lambdaExp goto 27
  3628.  
  3629. . error
  3630.  
  3631.  
  3632. state 180:
  3633.  
  3634. callExp : exp . tyargs LPAREN expList RPAREN
  3635. callExp : exp . LPAREN expList RPAREN
  3636. boolExp : exp . AND exp
  3637. boolExp : exp . OR exp
  3638. opExp : exp . PLUS exp
  3639. opExp : exp . MINUS exp
  3640. opExp : exp . TIMES exp
  3641. opExp : exp . DIVIDE exp
  3642. opExp : exp . EQ exp
  3643. opExp : exp . NEQ exp
  3644. opExp : exp . GT exp
  3645. opExp : exp . LT exp
  3646. opExp : exp . GE exp
  3647. opExp : exp . LE exp
  3648. iterationStat : FOR LPAREN exp SEMICOLON SEMICOLON exp . RPAREN stat
  3649.  
  3650. LPAREN shift 68
  3651. RPAREN shift 193
  3652. PLUS shift 67
  3653. MINUS shift 66
  3654. TIMES shift 65
  3655. DIVIDE shift 64
  3656. EQ shift 63
  3657. NEQ shift 62
  3658. LT shift 61
  3659. LE shift 60
  3660. GT shift 59
  3661. GE shift 58
  3662. AND shift 57
  3663. OR shift 56
  3664.  
  3665. tyargs goto 55
  3666.  
  3667. . error
  3668.  
  3669.  
  3670. state 181:
  3671.  
  3672. iterationStat : FOR LPAREN exp SEMICOLON SEMICOLON RPAREN . stat
  3673.  
  3674. ID shift 75
  3675. INT shift 43
  3676. STRING shift 42
  3677. FLOAT shift 41
  3678. BOOL shift 40
  3679. SEMICOLON shift 146
  3680. LPAREN shift 39
  3681. LBRACE shift 129
  3682. MINUS shift 38
  3683. BANG shift 37
  3684. PLUSPLUS shift 36
  3685. MINUSMINUS shift 35
  3686. IF shift 145
  3687. WHILE shift 144
  3688. FOR shift 143
  3689. FUN shift 22
  3690. VAR shift 5
  3691. BREAK shift 142
  3692. RETURN shift 141
  3693.  
  3694. const goto 34
  3695. ty goto 4
  3696. exp goto 140
  3697. assignExp goto 32
  3698. callExp goto 31
  3699. boolExp goto 30
  3700. opExp goto 29
  3701. primaryExp goto 28
  3702. varDecl goto 139
  3703. expStat goto 138
  3704. compoundStat goto 136
  3705. selectionStat goto 135
  3706. jumpStat goto 134
  3707. iterationStat goto 133
  3708. stat goto 194
  3709. lambdaExp goto 27
  3710.  
  3711. . error
  3712.  
  3713.  
  3714. state 182:
  3715.  
  3716. callExp : exp . tyargs LPAREN expList RPAREN
  3717. callExp : exp . LPAREN expList RPAREN
  3718. boolExp : exp . AND exp
  3719. boolExp : exp . OR exp
  3720. opExp : exp . PLUS exp
  3721. opExp : exp . MINUS exp
  3722. opExp : exp . TIMES exp
  3723. opExp : exp . DIVIDE exp
  3724. opExp : exp . EQ exp
  3725. opExp : exp . NEQ exp
  3726. opExp : exp . GT exp
  3727. opExp : exp . LT exp
  3728. opExp : exp . GE exp
  3729. opExp : exp . LE exp
  3730. iterationStat : FOR LPAREN SEMICOLON exp SEMICOLON exp . RPAREN stat
  3731.  
  3732. LPAREN shift 68
  3733. RPAREN shift 195
  3734. PLUS shift 67
  3735. MINUS shift 66
  3736. TIMES shift 65
  3737. DIVIDE shift 64
  3738. EQ shift 63
  3739. NEQ shift 62
  3740. LT shift 61
  3741. LE shift 60
  3742. GT shift 59
  3743. GE shift 58
  3744. AND shift 57
  3745. OR shift 56
  3746.  
  3747. tyargs goto 55
  3748.  
  3749. . error
  3750.  
  3751.  
  3752. state 183:
  3753.  
  3754. iterationStat : FOR LPAREN SEMICOLON exp SEMICOLON RPAREN . stat
  3755.  
  3756. ID shift 75
  3757. INT shift 43
  3758. STRING shift 42
  3759. FLOAT shift 41
  3760. BOOL shift 40
  3761. SEMICOLON shift 146
  3762. LPAREN shift 39
  3763. LBRACE shift 129
  3764. MINUS shift 38
  3765. BANG shift 37
  3766. PLUSPLUS shift 36
  3767. MINUSMINUS shift 35
  3768. IF shift 145
  3769. WHILE shift 144
  3770. FOR shift 143
  3771. FUN shift 22
  3772. VAR shift 5
  3773. BREAK shift 142
  3774. RETURN shift 141
  3775.  
  3776. const goto 34
  3777. ty goto 4
  3778. exp goto 140
  3779. assignExp goto 32
  3780. callExp goto 31
  3781. boolExp goto 30
  3782. opExp goto 29
  3783. primaryExp goto 28
  3784. varDecl goto 139
  3785. expStat goto 138
  3786. compoundStat goto 136
  3787. selectionStat goto 135
  3788. jumpStat goto 134
  3789. iterationStat goto 133
  3790. stat goto 196
  3791. lambdaExp goto 27
  3792.  
  3793. . error
  3794.  
  3795.  
  3796. state 184:
  3797.  
  3798. iterationStat : FOR LPAREN SEMICOLON SEMICOLON exp RPAREN . stat
  3799.  
  3800. ID shift 75
  3801. INT shift 43
  3802. STRING shift 42
  3803. FLOAT shift 41
  3804. BOOL shift 40
  3805. SEMICOLON shift 146
  3806. LPAREN shift 39
  3807. LBRACE shift 129
  3808. MINUS shift 38
  3809. BANG shift 37
  3810. PLUSPLUS shift 36
  3811. MINUSMINUS shift 35
  3812. IF shift 145
  3813. WHILE shift 144
  3814. FOR shift 143
  3815. FUN shift 22
  3816. VAR shift 5
  3817. BREAK shift 142
  3818. RETURN shift 141
  3819.  
  3820. const goto 34
  3821. ty goto 4
  3822. exp goto 140
  3823. assignExp goto 32
  3824. callExp goto 31
  3825. boolExp goto 30
  3826. opExp goto 29
  3827. primaryExp goto 28
  3828. varDecl goto 139
  3829. expStat goto 138
  3830. compoundStat goto 136
  3831. selectionStat goto 135
  3832. jumpStat goto 134
  3833. iterationStat goto 133
  3834. stat goto 197
  3835. lambdaExp goto 27
  3836.  
  3837. . error
  3838.  
  3839.  
  3840. state 185:
  3841.  
  3842. iterationStat : FOR LPAREN SEMICOLON SEMICOLON RPAREN stat . (reduce by rule 64)
  3843.  
  3844.  
  3845.  
  3846. . reduce by rule 64
  3847.  
  3848.  
  3849. state 186:
  3850.  
  3851. selectionStat : IF LPAREN exp RPAREN stat ELSE . stat
  3852.  
  3853. ID shift 75
  3854. INT shift 43
  3855. STRING shift 42
  3856. FLOAT shift 41
  3857. BOOL shift 40
  3858. SEMICOLON shift 146
  3859. LPAREN shift 39
  3860. LBRACE shift 129
  3861. MINUS shift 38
  3862. BANG shift 37
  3863. PLUSPLUS shift 36
  3864. MINUSMINUS shift 35
  3865. IF shift 145
  3866. WHILE shift 144
  3867. FOR shift 143
  3868. FUN shift 22
  3869. VAR shift 5
  3870. BREAK shift 142
  3871. RETURN shift 141
  3872.  
  3873. const goto 34
  3874. ty goto 4
  3875. exp goto 140
  3876. assignExp goto 32
  3877. callExp goto 31
  3878. boolExp goto 30
  3879. opExp goto 29
  3880. primaryExp goto 28
  3881. varDecl goto 139
  3882. expStat goto 138
  3883. compoundStat goto 136
  3884. selectionStat goto 135
  3885. jumpStat goto 134
  3886. iterationStat goto 133
  3887. stat goto 198
  3888. lambdaExp goto 27
  3889.  
  3890. . error
  3891.  
  3892.  
  3893. state 187:
  3894.  
  3895. callExp : exp . tyargs LPAREN expList RPAREN
  3896. callExp : exp . LPAREN expList RPAREN
  3897. boolExp : exp . AND exp
  3898. boolExp : exp . OR exp
  3899. opExp : exp . PLUS exp
  3900. opExp : exp . MINUS exp
  3901. opExp : exp . TIMES exp
  3902. opExp : exp . DIVIDE exp
  3903. opExp : exp . EQ exp
  3904. opExp : exp . NEQ exp
  3905. opExp : exp . GT exp
  3906. opExp : exp . LT exp
  3907. opExp : exp . GE exp
  3908. opExp : exp . LE exp
  3909. iterationStat : FOR LPAREN varDecl SEMICOLON exp SEMICOLON exp . RPAREN stat
  3910.  
  3911. LPAREN shift 68
  3912. RPAREN shift 199
  3913. PLUS shift 67
  3914. MINUS shift 66
  3915. TIMES shift 65
  3916. DIVIDE shift 64
  3917. EQ shift 63
  3918. NEQ shift 62
  3919. LT shift 61
  3920. LE shift 60
  3921. GT shift 59
  3922. GE shift 58
  3923. AND shift 57
  3924. OR shift 56
  3925.  
  3926. tyargs goto 55
  3927.  
  3928. . error
  3929.  
  3930.  
  3931. state 188:
  3932.  
  3933. iterationStat : FOR LPAREN varDecl SEMICOLON exp SEMICOLON RPAREN . stat
  3934.  
  3935. ID shift 75
  3936. INT shift 43
  3937. STRING shift 42
  3938. FLOAT shift 41
  3939. BOOL shift 40
  3940. SEMICOLON shift 146
  3941. LPAREN shift 39
  3942. LBRACE shift 129
  3943. MINUS shift 38
  3944. BANG shift 37
  3945. PLUSPLUS shift 36
  3946. MINUSMINUS shift 35
  3947. IF shift 145
  3948. WHILE shift 144
  3949. FOR shift 143
  3950. FUN shift 22
  3951. VAR shift 5
  3952. BREAK shift 142
  3953. RETURN shift 141
  3954.  
  3955. const goto 34
  3956. ty goto 4
  3957. exp goto 140
  3958. assignExp goto 32
  3959. callExp goto 31
  3960. boolExp goto 30
  3961. opExp goto 29
  3962. primaryExp goto 28
  3963. varDecl goto 139
  3964. expStat goto 138
  3965. compoundStat goto 136
  3966. selectionStat goto 135
  3967. jumpStat goto 134
  3968. iterationStat goto 133
  3969. stat goto 200
  3970. lambdaExp goto 27
  3971.  
  3972. . error
  3973.  
  3974.  
  3975. state 189:
  3976.  
  3977. iterationStat : FOR LPAREN varDecl SEMICOLON SEMICOLON exp RPAREN . stat
  3978.  
  3979. ID shift 75
  3980. INT shift 43
  3981. STRING shift 42
  3982. FLOAT shift 41
  3983. BOOL shift 40
  3984. SEMICOLON shift 146
  3985. LPAREN shift 39
  3986. LBRACE shift 129
  3987. MINUS shift 38
  3988. BANG shift 37
  3989. PLUSPLUS shift 36
  3990. MINUSMINUS shift 35
  3991. IF shift 145
  3992. WHILE shift 144
  3993. FOR shift 143
  3994. FUN shift 22
  3995. VAR shift 5
  3996. BREAK shift 142
  3997. RETURN shift 141
  3998.  
  3999. const goto 34
  4000. ty goto 4
  4001. exp goto 140
  4002. assignExp goto 32
  4003. callExp goto 31
  4004. boolExp goto 30
  4005. opExp goto 29
  4006. primaryExp goto 28
  4007. varDecl goto 139
  4008. expStat goto 138
  4009. compoundStat goto 136
  4010. selectionStat goto 135
  4011. jumpStat goto 134
  4012. iterationStat goto 133
  4013. stat goto 201
  4014. lambdaExp goto 27
  4015.  
  4016. . error
  4017.  
  4018.  
  4019. state 190:
  4020.  
  4021. iterationStat : FOR LPAREN varDecl SEMICOLON SEMICOLON RPAREN stat . (reduce by rule 68)
  4022.  
  4023.  
  4024.  
  4025. . reduce by rule 68
  4026.  
  4027.  
  4028. state 191:
  4029.  
  4030. callExp : exp . tyargs LPAREN expList RPAREN
  4031. callExp : exp . LPAREN expList RPAREN
  4032. boolExp : exp . AND exp
  4033. boolExp : exp . OR exp
  4034. opExp : exp . PLUS exp
  4035. opExp : exp . MINUS exp
  4036. opExp : exp . TIMES exp
  4037. opExp : exp . DIVIDE exp
  4038. opExp : exp . EQ exp
  4039. opExp : exp . NEQ exp
  4040. opExp : exp . GT exp
  4041. opExp : exp . LT exp
  4042. opExp : exp . GE exp
  4043. opExp : exp . LE exp
  4044. iterationStat : FOR LPAREN exp SEMICOLON exp SEMICOLON exp . RPAREN stat
  4045.  
  4046. LPAREN shift 68
  4047. RPAREN shift 202
  4048. PLUS shift 67
  4049. MINUS shift 66
  4050. TIMES shift 65
  4051. DIVIDE shift 64
  4052. EQ shift 63
  4053. NEQ shift 62
  4054. LT shift 61
  4055. LE shift 60
  4056. GT shift 59
  4057. GE shift 58
  4058. AND shift 57
  4059. OR shift 56
  4060.  
  4061. tyargs goto 55
  4062.  
  4063. . error
  4064.  
  4065.  
  4066. state 192:
  4067.  
  4068. iterationStat : FOR LPAREN exp SEMICOLON exp SEMICOLON RPAREN . stat
  4069.  
  4070. ID shift 75
  4071. INT shift 43
  4072. STRING shift 42
  4073. FLOAT shift 41
  4074. BOOL shift 40
  4075. SEMICOLON shift 146
  4076. LPAREN shift 39
  4077. LBRACE shift 129
  4078. MINUS shift 38
  4079. BANG shift 37
  4080. PLUSPLUS shift 36
  4081. MINUSMINUS shift 35
  4082. IF shift 145
  4083. WHILE shift 144
  4084. FOR shift 143
  4085. FUN shift 22
  4086. VAR shift 5
  4087. BREAK shift 142
  4088. RETURN shift 141
  4089.  
  4090. const goto 34
  4091. ty goto 4
  4092. exp goto 140
  4093. assignExp goto 32
  4094. callExp goto 31
  4095. boolExp goto 30
  4096. opExp goto 29
  4097. primaryExp goto 28
  4098. varDecl goto 139
  4099. expStat goto 138
  4100. compoundStat goto 136
  4101. selectionStat goto 135
  4102. jumpStat goto 134
  4103. iterationStat goto 133
  4104. stat goto 203
  4105. lambdaExp goto 27
  4106.  
  4107. . error
  4108.  
  4109.  
  4110. state 193:
  4111.  
  4112. iterationStat : FOR LPAREN exp SEMICOLON SEMICOLON exp RPAREN . stat
  4113.  
  4114. ID shift 75
  4115. INT shift 43
  4116. STRING shift 42
  4117. FLOAT shift 41
  4118. BOOL shift 40
  4119. SEMICOLON shift 146
  4120. LPAREN shift 39
  4121. LBRACE shift 129
  4122. MINUS shift 38
  4123. BANG shift 37
  4124. PLUSPLUS shift 36
  4125. MINUSMINUS shift 35
  4126. IF shift 145
  4127. WHILE shift 144
  4128. FOR shift 143
  4129. FUN shift 22
  4130. VAR shift 5
  4131. BREAK shift 142
  4132. RETURN shift 141
  4133.  
  4134. const goto 34
  4135. ty goto 4
  4136. exp goto 140
  4137. assignExp goto 32
  4138. callExp goto 31
  4139. boolExp goto 30
  4140. opExp goto 29
  4141. primaryExp goto 28
  4142. varDecl goto 139
  4143. expStat goto 138
  4144. compoundStat goto 136
  4145. selectionStat goto 135
  4146. jumpStat goto 134
  4147. iterationStat goto 133
  4148. stat goto 204
  4149. lambdaExp goto 27
  4150.  
  4151. . error
  4152.  
  4153.  
  4154. state 194:
  4155.  
  4156. iterationStat : FOR LPAREN exp SEMICOLON SEMICOLON RPAREN stat . (reduce by rule 72)
  4157.  
  4158.  
  4159.  
  4160. . reduce by rule 72
  4161.  
  4162.  
  4163. state 195:
  4164.  
  4165. iterationStat : FOR LPAREN SEMICOLON exp SEMICOLON exp RPAREN . stat
  4166.  
  4167. ID shift 75
  4168. INT shift 43
  4169. STRING shift 42
  4170. FLOAT shift 41
  4171. BOOL shift 40
  4172. SEMICOLON shift 146
  4173. LPAREN shift 39
  4174. LBRACE shift 129
  4175. MINUS shift 38
  4176. BANG shift 37
  4177. PLUSPLUS shift 36
  4178. MINUSMINUS shift 35
  4179. IF shift 145
  4180. WHILE shift 144
  4181. FOR shift 143
  4182. FUN shift 22
  4183. VAR shift 5
  4184. BREAK shift 142
  4185. RETURN shift 141
  4186.  
  4187. const goto 34
  4188. ty goto 4
  4189. exp goto 140
  4190. assignExp goto 32
  4191. callExp goto 31
  4192. boolExp goto 30
  4193. opExp goto 29
  4194. primaryExp goto 28
  4195. varDecl goto 139
  4196. expStat goto 138
  4197. compoundStat goto 136
  4198. selectionStat goto 135
  4199. jumpStat goto 134
  4200. iterationStat goto 133
  4201. stat goto 205
  4202. lambdaExp goto 27
  4203.  
  4204. . error
  4205.  
  4206.  
  4207. state 196:
  4208.  
  4209. iterationStat : FOR LPAREN SEMICOLON exp SEMICOLON RPAREN stat . (reduce by rule 66)
  4210.  
  4211.  
  4212.  
  4213. . reduce by rule 66
  4214.  
  4215.  
  4216. state 197:
  4217.  
  4218. iterationStat : FOR LPAREN SEMICOLON SEMICOLON exp RPAREN stat . (reduce by rule 65)
  4219.  
  4220.  
  4221.  
  4222. . reduce by rule 65
  4223.  
  4224.  
  4225. state 198:
  4226.  
  4227. selectionStat : IF LPAREN exp RPAREN stat ELSE stat . (reduce by rule 58)
  4228.  
  4229.  
  4230.  
  4231. . reduce by rule 58
  4232.  
  4233.  
  4234. state 199:
  4235.  
  4236. iterationStat : FOR LPAREN varDecl SEMICOLON exp SEMICOLON exp RPAREN . stat
  4237.  
  4238. ID shift 75
  4239. INT shift 43
  4240. STRING shift 42
  4241. FLOAT shift 41
  4242. BOOL shift 40
  4243. SEMICOLON shift 146
  4244. LPAREN shift 39
  4245. LBRACE shift 129
  4246. MINUS shift 38
  4247. BANG shift 37
  4248. PLUSPLUS shift 36
  4249. MINUSMINUS shift 35
  4250. IF shift 145
  4251. WHILE shift 144
  4252. FOR shift 143
  4253. FUN shift 22
  4254. VAR shift 5
  4255. BREAK shift 142
  4256. RETURN shift 141
  4257.  
  4258. const goto 34
  4259. ty goto 4
  4260. exp goto 140
  4261. assignExp goto 32
  4262. callExp goto 31
  4263. boolExp goto 30
  4264. opExp goto 29
  4265. primaryExp goto 28
  4266. varDecl goto 139
  4267. expStat goto 138
  4268. compoundStat goto 136
  4269. selectionStat goto 135
  4270. jumpStat goto 134
  4271. iterationStat goto 133
  4272. stat goto 206
  4273. lambdaExp goto 27
  4274.  
  4275. . error
  4276.  
  4277.  
  4278. state 200:
  4279.  
  4280. iterationStat : FOR LPAREN varDecl SEMICOLON exp SEMICOLON RPAREN stat . (reduce by rule 70)
  4281.  
  4282.  
  4283.  
  4284. . reduce by rule 70
  4285.  
  4286.  
  4287. state 201:
  4288.  
  4289. iterationStat : FOR LPAREN varDecl SEMICOLON SEMICOLON exp RPAREN stat . (reduce by rule 69)
  4290.  
  4291.  
  4292.  
  4293. . reduce by rule 69
  4294.  
  4295.  
  4296. state 202:
  4297.  
  4298. iterationStat : FOR LPAREN exp SEMICOLON exp SEMICOLON exp RPAREN . stat
  4299.  
  4300. ID shift 75
  4301. INT shift 43
  4302. STRING shift 42
  4303. FLOAT shift 41
  4304. BOOL shift 40
  4305. SEMICOLON shift 146
  4306. LPAREN shift 39
  4307. LBRACE shift 129
  4308. MINUS shift 38
  4309. BANG shift 37
  4310. PLUSPLUS shift 36
  4311. MINUSMINUS shift 35
  4312. IF shift 145
  4313. WHILE shift 144
  4314. FOR shift 143
  4315. FUN shift 22
  4316. VAR shift 5
  4317. BREAK shift 142
  4318. RETURN shift 141
  4319.  
  4320. const goto 34
  4321. ty goto 4
  4322. exp goto 140
  4323. assignExp goto 32
  4324. callExp goto 31
  4325. boolExp goto 30
  4326. opExp goto 29
  4327. primaryExp goto 28
  4328. varDecl goto 139
  4329. expStat goto 138
  4330. compoundStat goto 136
  4331. selectionStat goto 135
  4332. jumpStat goto 134
  4333. iterationStat goto 133
  4334. stat goto 207
  4335. lambdaExp goto 27
  4336.  
  4337. . error
  4338.  
  4339.  
  4340. state 203:
  4341.  
  4342. iterationStat : FOR LPAREN exp SEMICOLON exp SEMICOLON RPAREN stat . (reduce by rule 74)
  4343.  
  4344.  
  4345.  
  4346. . reduce by rule 74
  4347.  
  4348.  
  4349. state 204:
  4350.  
  4351. iterationStat : FOR LPAREN exp SEMICOLON SEMICOLON exp RPAREN stat . (reduce by rule 73)
  4352.  
  4353.  
  4354.  
  4355. . reduce by rule 73
  4356.  
  4357.  
  4358. state 205:
  4359.  
  4360. iterationStat : FOR LPAREN SEMICOLON exp SEMICOLON exp RPAREN stat . (reduce by rule 67)
  4361.  
  4362.  
  4363.  
  4364. . reduce by rule 67
  4365.  
  4366.  
  4367. state 206:
  4368.  
  4369. iterationStat : FOR LPAREN varDecl SEMICOLON exp SEMICOLON exp RPAREN stat . (reduce by rule 71)
  4370.  
  4371.  
  4372.  
  4373. . reduce by rule 71
  4374.  
  4375.  
  4376. state 207:
  4377.  
  4378. iterationStat : FOR LPAREN exp SEMICOLON exp SEMICOLON exp RPAREN stat . (reduce by rule 75)
  4379.  
  4380.  
  4381.  
  4382. . reduce by rule 75
  4383.  
  4384.  
  4385. state 208:
  4386.  
  4387.  
  4388. EOF accept
  4389.  
  4390.  
  4391. . error
  4392.  
  4393. 695 of 1441 action table entries left after compaction
  4394. 671 goto table entries
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement