-
Notifications
You must be signed in to change notification settings - Fork 0
/
parser.output
1209 lines (724 loc) · 26.6 KB
/
parser.output
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
State 97 conflicts: 1 shift/reduce
Grammar
0 $accept: program $end
1 program: declaration-list
2 declaration-list: declaration-list declaration
3 | declaration
4 declaration: var-declaration
5 | fun-declaration
6 var-declaration: type-specifier ID EOL
7 | type-specifier ID LEFT_BRACKET NUM RIGHT_BRACKET EOL
8 type-specifier: INT
9 | VOID
10 fun-declaration: type-specifier ID LEFT_PARANTHESE params RIGHT_PARANTHESE compound-stmt
11 params: param-list
12 | VOID
13 param-list: param-list COMMA param
14 | param
15 param: type-specifier ID
16 | type-specifier ID LEFT_BRACKET RIGHT_BRACKET
17 compound-stmt: LEFT_BRACE local-declarations statement-list RIGHT_BRACE
18 local-declarations: local-declarations var-declaration
19 | %empty
20 statement-list: statement-list statement
21 | %empty
22 statement: expression-stmt
23 | compound-stmt
24 | selection-stmt
25 | iteration-stmt
26 | return-stmt
27 expression-stmt: expression EOL
28 | EOL
29 selection-stmt: IF LEFT_PARANTHESE expression RIGHT_PARANTHESE statement
30 | IF LEFT_PARANTHESE expression RIGHT_PARANTHESE statement ELSE statement
31 iteration-stmt: WHILE LEFT_PARANTHESE expression RIGHT_PARANTHESE statement
32 return-stmt: RETURN EOL
33 | RETURN expression EOL
34 expression: var ASSIGNMENT expression
35 | simple-expression
36 var: ID
37 | ID LEFT_BRACKET expression RIGHT_BRACKET
38 simple-expression: additive-expression relop additive-expression
39 | additive-expression
40 relop: LESS_THAN
41 | LESS_THAN_OR_EQUAL
42 | GREATER_THAN
43 | GREATER_THAN_OR_EQUAL
44 | EQUAL
45 | NOT_EQUAL
46 additive-expression: additive-expression addop term
47 | term
48 addop: ADD
49 | SUBTRACT
50 term: term mulop factor
51 | factor
52 mulop: MULTIPLY
53 | DIVIDE
54 factor: LEFT_PARANTHESE expression RIGHT_PARANTHESE
55 | var
56 | call
57 | NUM
58 call: ID LEFT_PARANTHESE args RIGHT_PARANTHESE
59 args: arg-list
60 | %empty
61 arg-list: arg-list COMMA expression
62 | expression
Terminals, with rules where they appear
$end (0) 0
error (256)
ELSE (258) 30
IF (259) 29 30
INT (260) 8
RETURN (261) 32 33
VOID (262) 9 12
WHILE (263) 31
ADD (264) 48
SUBTRACT (265) 49
MULTIPLY (266) 52
DIVIDE (267) 53
LESS_THAN (268) 40
LESS_THAN_OR_EQUAL (269) 41
GREATER_THAN (270) 42
GREATER_THAN_OR_EQUAL (271) 43
EQUAL (272) 44
NOT_EQUAL (273) 45
ASSIGNMENT (274) 34
EOL (275) 6 7 27 28 32 33
COMMA (276) 13 61
LEFT_BRACE (277) 17
RIGHT_BRACE (278) 17
LEFT_PARANTHESE (279) 10 29 30 31 54 58
RIGHT_PARANTHESE (280) 10 29 30 31 54 58
LEFT_BRACKET (281) 7 16 37
RIGHT_BRACKET (282) 7 16 37
ID (283) 6 7 10 15 16 36 37 58
NUM (284) 7 57
Nonterminals, with rules where they appear
$accept (30)
on left: 0
program (31)
on left: 1, on right: 0
declaration-list (32)
on left: 2 3, on right: 1 2
declaration (33)
on left: 4 5, on right: 2 3
var-declaration (34)
on left: 6 7, on right: 4 18
type-specifier (35)
on left: 8 9, on right: 6 7 10 15 16
fun-declaration (36)
on left: 10, on right: 5
params (37)
on left: 11 12, on right: 10
param-list (38)
on left: 13 14, on right: 11 13
param (39)
on left: 15 16, on right: 13 14
compound-stmt (40)
on left: 17, on right: 10 23
local-declarations (41)
on left: 18 19, on right: 17 18
statement-list (42)
on left: 20 21, on right: 17 20
statement (43)
on left: 22 23 24 25 26, on right: 20 29 30 31
expression-stmt (44)
on left: 27 28, on right: 22
selection-stmt (45)
on left: 29 30, on right: 24
iteration-stmt (46)
on left: 31, on right: 25
return-stmt (47)
on left: 32 33, on right: 26
expression (48)
on left: 34 35, on right: 27 29 30 31 33 34 37 54 61 62
var (49)
on left: 36 37, on right: 34 55
simple-expression (50)
on left: 38 39, on right: 35
relop (51)
on left: 40 41 42 43 44 45, on right: 38
additive-expression (52)
on left: 46 47, on right: 38 39 46
addop (53)
on left: 48 49, on right: 46
term (54)
on left: 50 51, on right: 46 47 50
mulop (55)
on left: 52 53, on right: 50
factor (56)
on left: 54 55 56 57, on right: 50 51
call (57)
on left: 58, on right: 56
args (58)
on left: 59 60, on right: 58
arg-list (59)
on left: 61 62, on right: 59 61
State 0
0 $accept: . program $end
INT shift, and go to state 1
VOID shift, and go to state 2
program go to state 3
declaration-list go to state 4
declaration go to state 5
var-declaration go to state 6
type-specifier go to state 7
fun-declaration go to state 8
State 1
8 type-specifier: INT .
$default reduce using rule 8 (type-specifier)
State 2
9 type-specifier: VOID .
$default reduce using rule 9 (type-specifier)
State 3
0 $accept: program . $end
$end shift, and go to state 9
State 4
1 program: declaration-list .
2 declaration-list: declaration-list . declaration
INT shift, and go to state 1
VOID shift, and go to state 2
$default reduce using rule 1 (program)
declaration go to state 10
var-declaration go to state 6
type-specifier go to state 7
fun-declaration go to state 8
State 5
3 declaration-list: declaration .
$default reduce using rule 3 (declaration-list)
State 6
4 declaration: var-declaration .
$default reduce using rule 4 (declaration)
State 7
6 var-declaration: type-specifier . ID EOL
7 | type-specifier . ID LEFT_BRACKET NUM RIGHT_BRACKET EOL
10 fun-declaration: type-specifier . ID LEFT_PARANTHESE params RIGHT_PARANTHESE compound-stmt
ID shift, and go to state 11
State 8
5 declaration: fun-declaration .
$default reduce using rule 5 (declaration)
State 9
0 $accept: program $end .
$default accept
State 10
2 declaration-list: declaration-list declaration .
$default reduce using rule 2 (declaration-list)
State 11
6 var-declaration: type-specifier ID . EOL
7 | type-specifier ID . LEFT_BRACKET NUM RIGHT_BRACKET EOL
10 fun-declaration: type-specifier ID . LEFT_PARANTHESE params RIGHT_PARANTHESE compound-stmt
EOL shift, and go to state 12
LEFT_PARANTHESE shift, and go to state 13
LEFT_BRACKET shift, and go to state 14
State 12
6 var-declaration: type-specifier ID EOL .
$default reduce using rule 6 (var-declaration)
State 13
10 fun-declaration: type-specifier ID LEFT_PARANTHESE . params RIGHT_PARANTHESE compound-stmt
INT shift, and go to state 1
VOID shift, and go to state 15
type-specifier go to state 16
params go to state 17
param-list go to state 18
param go to state 19
State 14
7 var-declaration: type-specifier ID LEFT_BRACKET . NUM RIGHT_BRACKET EOL
NUM shift, and go to state 20
State 15
9 type-specifier: VOID .
12 params: VOID .
RIGHT_PARANTHESE reduce using rule 12 (params)
$default reduce using rule 9 (type-specifier)
State 16
15 param: type-specifier . ID
16 | type-specifier . ID LEFT_BRACKET RIGHT_BRACKET
ID shift, and go to state 21
State 17
10 fun-declaration: type-specifier ID LEFT_PARANTHESE params . RIGHT_PARANTHESE compound-stmt
RIGHT_PARANTHESE shift, and go to state 22
State 18
11 params: param-list .
13 param-list: param-list . COMMA param
COMMA shift, and go to state 23
$default reduce using rule 11 (params)
State 19
14 param-list: param .
$default reduce using rule 14 (param-list)
State 20
7 var-declaration: type-specifier ID LEFT_BRACKET NUM . RIGHT_BRACKET EOL
RIGHT_BRACKET shift, and go to state 24
State 21
15 param: type-specifier ID .
16 | type-specifier ID . LEFT_BRACKET RIGHT_BRACKET
LEFT_BRACKET shift, and go to state 25
$default reduce using rule 15 (param)
State 22
10 fun-declaration: type-specifier ID LEFT_PARANTHESE params RIGHT_PARANTHESE . compound-stmt
LEFT_BRACE shift, and go to state 26
compound-stmt go to state 27
State 23
13 param-list: param-list COMMA . param
INT shift, and go to state 1
VOID shift, and go to state 2
type-specifier go to state 16
param go to state 28
State 24
7 var-declaration: type-specifier ID LEFT_BRACKET NUM RIGHT_BRACKET . EOL
EOL shift, and go to state 29
State 25
16 param: type-specifier ID LEFT_BRACKET . RIGHT_BRACKET
RIGHT_BRACKET shift, and go to state 30
State 26
17 compound-stmt: LEFT_BRACE . local-declarations statement-list RIGHT_BRACE
$default reduce using rule 19 (local-declarations)
local-declarations go to state 31
State 27
10 fun-declaration: type-specifier ID LEFT_PARANTHESE params RIGHT_PARANTHESE compound-stmt .
$default reduce using rule 10 (fun-declaration)
State 28
13 param-list: param-list COMMA param .
$default reduce using rule 13 (param-list)
State 29
7 var-declaration: type-specifier ID LEFT_BRACKET NUM RIGHT_BRACKET EOL .
$default reduce using rule 7 (var-declaration)
State 30
16 param: type-specifier ID LEFT_BRACKET RIGHT_BRACKET .
$default reduce using rule 16 (param)
State 31
17 compound-stmt: LEFT_BRACE local-declarations . statement-list RIGHT_BRACE
18 local-declarations: local-declarations . var-declaration
INT shift, and go to state 1
VOID shift, and go to state 2
$default reduce using rule 21 (statement-list)
var-declaration go to state 32
type-specifier go to state 33
statement-list go to state 34
State 32
18 local-declarations: local-declarations var-declaration .
$default reduce using rule 18 (local-declarations)
State 33
6 var-declaration: type-specifier . ID EOL
7 | type-specifier . ID LEFT_BRACKET NUM RIGHT_BRACKET EOL
ID shift, and go to state 35
State 34
17 compound-stmt: LEFT_BRACE local-declarations statement-list . RIGHT_BRACE
20 statement-list: statement-list . statement
IF shift, and go to state 36
RETURN shift, and go to state 37
WHILE shift, and go to state 38
EOL shift, and go to state 39
LEFT_BRACE shift, and go to state 26
RIGHT_BRACE shift, and go to state 40
LEFT_PARANTHESE shift, and go to state 41
ID shift, and go to state 42
NUM shift, and go to state 43
compound-stmt go to state 44
statement go to state 45
expression-stmt go to state 46
selection-stmt go to state 47
iteration-stmt go to state 48
return-stmt go to state 49
expression go to state 50
var go to state 51
simple-expression go to state 52
additive-expression go to state 53
term go to state 54
factor go to state 55
call go to state 56
State 35
6 var-declaration: type-specifier ID . EOL
7 | type-specifier ID . LEFT_BRACKET NUM RIGHT_BRACKET EOL
EOL shift, and go to state 12
LEFT_BRACKET shift, and go to state 14
State 36
29 selection-stmt: IF . LEFT_PARANTHESE expression RIGHT_PARANTHESE statement
30 | IF . LEFT_PARANTHESE expression RIGHT_PARANTHESE statement ELSE statement
LEFT_PARANTHESE shift, and go to state 57
State 37
32 return-stmt: RETURN . EOL
33 | RETURN . expression EOL
EOL shift, and go to state 58
LEFT_PARANTHESE shift, and go to state 41
ID shift, and go to state 42
NUM shift, and go to state 43
expression go to state 59
var go to state 51
simple-expression go to state 52
additive-expression go to state 53
term go to state 54
factor go to state 55
call go to state 56
State 38
31 iteration-stmt: WHILE . LEFT_PARANTHESE expression RIGHT_PARANTHESE statement
LEFT_PARANTHESE shift, and go to state 60
State 39
28 expression-stmt: EOL .
$default reduce using rule 28 (expression-stmt)
State 40
17 compound-stmt: LEFT_BRACE local-declarations statement-list RIGHT_BRACE .
$default reduce using rule 17 (compound-stmt)
State 41
54 factor: LEFT_PARANTHESE . expression RIGHT_PARANTHESE
LEFT_PARANTHESE shift, and go to state 41
ID shift, and go to state 42
NUM shift, and go to state 43
expression go to state 61
var go to state 51
simple-expression go to state 52
additive-expression go to state 53
term go to state 54
factor go to state 55
call go to state 56
State 42
36 var: ID .
37 | ID . LEFT_BRACKET expression RIGHT_BRACKET
58 call: ID . LEFT_PARANTHESE args RIGHT_PARANTHESE
LEFT_PARANTHESE shift, and go to state 62
LEFT_BRACKET shift, and go to state 63
$default reduce using rule 36 (var)
State 43
57 factor: NUM .
$default reduce using rule 57 (factor)
State 44
23 statement: compound-stmt .
$default reduce using rule 23 (statement)
State 45
20 statement-list: statement-list statement .
$default reduce using rule 20 (statement-list)
State 46
22 statement: expression-stmt .
$default reduce using rule 22 (statement)
State 47
24 statement: selection-stmt .
$default reduce using rule 24 (statement)
State 48
25 statement: iteration-stmt .
$default reduce using rule 25 (statement)
State 49
26 statement: return-stmt .
$default reduce using rule 26 (statement)
State 50
27 expression-stmt: expression . EOL
EOL shift, and go to state 64
State 51
34 expression: var . ASSIGNMENT expression
55 factor: var .
ASSIGNMENT shift, and go to state 65
$default reduce using rule 55 (factor)
State 52
35 expression: simple-expression .
$default reduce using rule 35 (expression)
State 53
38 simple-expression: additive-expression . relop additive-expression
39 | additive-expression .
46 additive-expression: additive-expression . addop term
ADD shift, and go to state 66
SUBTRACT shift, and go to state 67
LESS_THAN shift, and go to state 68
LESS_THAN_OR_EQUAL shift, and go to state 69
GREATER_THAN shift, and go to state 70
GREATER_THAN_OR_EQUAL shift, and go to state 71
EQUAL shift, and go to state 72
NOT_EQUAL shift, and go to state 73
$default reduce using rule 39 (simple-expression)
relop go to state 74
addop go to state 75
State 54
47 additive-expression: term .
50 term: term . mulop factor
MULTIPLY shift, and go to state 76
DIVIDE shift, and go to state 77
$default reduce using rule 47 (additive-expression)
mulop go to state 78
State 55
51 term: factor .
$default reduce using rule 51 (term)
State 56
56 factor: call .
$default reduce using rule 56 (factor)
State 57
29 selection-stmt: IF LEFT_PARANTHESE . expression RIGHT_PARANTHESE statement
30 | IF LEFT_PARANTHESE . expression RIGHT_PARANTHESE statement ELSE statement
LEFT_PARANTHESE shift, and go to state 41
ID shift, and go to state 42
NUM shift, and go to state 43
expression go to state 79
var go to state 51
simple-expression go to state 52
additive-expression go to state 53
term go to state 54
factor go to state 55
call go to state 56
State 58
32 return-stmt: RETURN EOL .
$default reduce using rule 32 (return-stmt)
State 59
33 return-stmt: RETURN expression . EOL
EOL shift, and go to state 80
State 60
31 iteration-stmt: WHILE LEFT_PARANTHESE . expression RIGHT_PARANTHESE statement
LEFT_PARANTHESE shift, and go to state 41
ID shift, and go to state 42
NUM shift, and go to state 43
expression go to state 81
var go to state 51
simple-expression go to state 52
additive-expression go to state 53
term go to state 54
factor go to state 55
call go to state 56
State 61
54 factor: LEFT_PARANTHESE expression . RIGHT_PARANTHESE
RIGHT_PARANTHESE shift, and go to state 82
State 62
58 call: ID LEFT_PARANTHESE . args RIGHT_PARANTHESE
LEFT_PARANTHESE shift, and go to state 41
ID shift, and go to state 42
NUM shift, and go to state 43
$default reduce using rule 60 (args)
expression go to state 83
var go to state 51
simple-expression go to state 52
additive-expression go to state 53
term go to state 54
factor go to state 55
call go to state 56
args go to state 84
arg-list go to state 85
State 63
37 var: ID LEFT_BRACKET . expression RIGHT_BRACKET
LEFT_PARANTHESE shift, and go to state 41
ID shift, and go to state 42
NUM shift, and go to state 43
expression go to state 86
var go to state 51
simple-expression go to state 52
additive-expression go to state 53
term go to state 54
factor go to state 55
call go to state 56
State 64
27 expression-stmt: expression EOL .
$default reduce using rule 27 (expression-stmt)
State 65
34 expression: var ASSIGNMENT . expression
LEFT_PARANTHESE shift, and go to state 41
ID shift, and go to state 42
NUM shift, and go to state 43
expression go to state 87
var go to state 51
simple-expression go to state 52
additive-expression go to state 53
term go to state 54
factor go to state 55
call go to state 56
State 66
48 addop: ADD .
$default reduce using rule 48 (addop)
State 67
49 addop: SUBTRACT .
$default reduce using rule 49 (addop)
State 68
40 relop: LESS_THAN .
$default reduce using rule 40 (relop)
State 69
41 relop: LESS_THAN_OR_EQUAL .
$default reduce using rule 41 (relop)
State 70
42 relop: GREATER_THAN .
$default reduce using rule 42 (relop)
State 71
43 relop: GREATER_THAN_OR_EQUAL .
$default reduce using rule 43 (relop)
State 72
44 relop: EQUAL .
$default reduce using rule 44 (relop)
State 73
45 relop: NOT_EQUAL .
$default reduce using rule 45 (relop)
State 74
38 simple-expression: additive-expression relop . additive-expression
LEFT_PARANTHESE shift, and go to state 41
ID shift, and go to state 42
NUM shift, and go to state 43
var go to state 88
additive-expression go to state 89
term go to state 54
factor go to state 55
call go to state 56
State 75
46 additive-expression: additive-expression addop . term
LEFT_PARANTHESE shift, and go to state 41
ID shift, and go to state 42
NUM shift, and go to state 43
var go to state 88
term go to state 90
factor go to state 55
call go to state 56
State 76
52 mulop: MULTIPLY .
$default reduce using rule 52 (mulop)
State 77
53 mulop: DIVIDE .
$default reduce using rule 53 (mulop)
State 78
50 term: term mulop . factor
LEFT_PARANTHESE shift, and go to state 41
ID shift, and go to state 42
NUM shift, and go to state 43
var go to state 88
factor go to state 91
call go to state 56
State 79
29 selection-stmt: IF LEFT_PARANTHESE expression . RIGHT_PARANTHESE statement
30 | IF LEFT_PARANTHESE expression . RIGHT_PARANTHESE statement ELSE statement
RIGHT_PARANTHESE shift, and go to state 92
State 80
33 return-stmt: RETURN expression EOL .
$default reduce using rule 33 (return-stmt)
State 81
31 iteration-stmt: WHILE LEFT_PARANTHESE expression . RIGHT_PARANTHESE statement
RIGHT_PARANTHESE shift, and go to state 93
State 82
54 factor: LEFT_PARANTHESE expression RIGHT_PARANTHESE .
$default reduce using rule 54 (factor)
State 83
62 arg-list: expression .
$default reduce using rule 62 (arg-list)
State 84
58 call: ID LEFT_PARANTHESE args . RIGHT_PARANTHESE
RIGHT_PARANTHESE shift, and go to state 94
State 85