-
Notifications
You must be signed in to change notification settings - Fork 0
/
parser.out
3838 lines (3090 loc) · 158 KB
/
parser.out
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
Created by PLY version 3.11 (http://www.dabeaz.com/ply)
Grammar
Rule 0 S' -> expression
Rule 1 expression -> term
Rule 2 expression -> term opmat term
Rule 3 expression -> term opmat term expression
Rule 4 expression -> expresionlogic
Rule 5 expression -> expresionlogic connectlog expresionlogic
Rule 6 expresionlogic -> term oplog term
Rule 7 expresionlogic -> booleano connectlog booleano
Rule 8 booleano -> TRUE
Rule 9 booleano -> FALSE
Rule 10 connectlog -> AND
Rule 11 connectlog -> OR
Rule 12 oplog -> EQUAL
Rule 13 oplog -> NOTEQUAL
Rule 14 oplog -> GREATERTHAN
Rule 15 oplog -> GREATERTHANEQUAL
Rule 16 oplog -> LESSERTHAN
Rule 17 oplog -> LESSERTHANEQUAL
Rule 18 opmat -> PLUS
Rule 19 opmat -> MINUS
Rule 20 opmat -> TIMES
Rule 21 opmat -> DIVIDE
Rule 22 opmat -> MOD
Rule 23 assignacion -> INCREMENT
Rule 24 assignacion -> DECREMENT
Rule 25 assignacion -> COMPASSIGPLUS
Rule 26 assignacion -> COMPASSIGMINUS
Rule 27 assignacion -> COMPASSIGTIMES
Rule 28 assignacion -> COMPASSIGDIVIDE
Rule 29 term -> NUMBER
Rule 30 term -> VARIABLE
Rule 31 term -> TEXT
Rule 32 term -> NUMDEC
Rule 33 term -> booleano
Rule 34 expression -> VARIABLE assignacion SEMICOLON
Rule 35 expression -> assignacion VARIABLE SEMICOLON
Rule 36 expression -> WHILE LPAREN expresionlogic RPAREN LBRACKET expression RBRACKET
Rule 37 expression -> FOR LPAREN datos declaracion expresionlogic SEMICOLON oper RPAREN LBRACKET expression RBRACKET
Rule 38 expression -> IF LPAREN expresionlogic RPAREN LBRACKET expression RBRACKET
Rule 39 expression -> IF LPAREN expresionlogic RPAREN LBRACKET expression RBRACKET ELSE LBRACKET expression RBRACKET
Rule 40 oper -> VARIABLE assignacion
Rule 41 oper -> assignacion VARIABLE
Rule 42 datos -> BOOL
Rule 43 datos -> BYTE
Rule 44 datos -> CHAR
Rule 45 datos -> DECIMAL
Rule 46 datos -> DOUBLE
Rule 47 datos -> FLOAT
Rule 48 datos -> INT
Rule 49 datos -> LONG
Rule 50 datos -> SBYTE
Rule 51 datos -> SHORT
Rule 52 datos -> UINT
Rule 53 datos -> ULONG
Rule 54 datos -> USHORT
Rule 55 datos -> STRING
Rule 56 declaracion -> VARIABLE ASSIGNMENT expression SEMICOLON
Rule 57 expression -> datos VARIABLE ASSIGNMENT term SEMICOLON
Rule 58 expression -> WHILE LPAREN expression RPAREN LBRACKET expression RBRACKET
Rule 59 expression -> FOR LPAREN declaracion expression SEMICOLON RPAREN LBRACKET expression RBRACKET
Rule 60 expression -> LIST LESSERTHAN datos GREATERTHAN term ASSIGNMENT NEW LIST LESSERTHAN datos GREATERTHAN LPAREN RPAREN LBRACKET expression RBRACKET SEMICOLON
Rule 61 expression -> term POINT ADD LPAREN term RPAREN SEMICOLON
Rule 62 expression -> term POINT REMOVE LPAREN term RPAREN SEMICOLON
Rule 63 expression -> term POINT REMOVEAT LPAREN term RPAREN SEMICOLON
Rule 64 expression -> TUPLE LESSERTHAN LPAREN datos COMMA datos RPAREN GREATERTHAN term ASSIGNMENT NEW TUPLE LPAREN datos COMMA datos RPAREN LPAREN term COMMA term RPAREN SEMICOLON
Rule 65 expression -> term POINT EQUALS LPAREN expression RPAREN SEMICOLON
Rule 66 expression -> term POINT COMPARETO LPAREN expression RPAREN SEMICOLON
Rule 67 expression -> term POINT ITEM SEMICOLON
Terminals, with rules where they appear
ADD : 61
AND : 10
ASSIGNMENT : 56 57 60 64
BOOL : 42
BYTE : 43
CHAR : 44
COMMA : 64 64 64
COMPARETO : 66
COMPASSIGDIVIDE : 28
COMPASSIGMINUS : 26
COMPASSIGPLUS : 25
COMPASSIGTIMES : 27
DECIMAL : 45
DECREMENT : 24
DIVIDE : 21
DOUBLE : 46
ELSE : 39
EQUAL : 12
EQUALS : 65
FALSE : 9
FLOAT : 47
FOR : 37 59
GREATERTHAN : 14 60 60 64
GREATERTHANEQUAL : 15
IF : 38 39
INCREMENT : 23
INT : 48
ITEM : 67
LBRACKET : 36 37 38 39 39 58 59 60
LESSERTHAN : 16 60 60 64
LESSERTHANEQUAL : 17
LIST : 60 60
LONG : 49
LPAREN : 36 37 38 39 58 59 60 61 62 63 64 64 64 65 66
MINUS : 19
MOD : 22
NEW : 60 64
NOTEQUAL : 13
NUMBER : 29
NUMDEC : 32
OR : 11
PLUS : 18
POINT : 61 62 63 65 66 67
RBRACKET : 36 37 38 39 39 58 59 60
REMOVE : 62
REMOVEAT : 63
RPAREN : 36 37 38 39 58 59 60 61 62 63 64 64 64 65 66
SBYTE : 50
SEMICOLON : 34 35 37 56 57 59 60 61 62 63 64 65 66 67
SHORT : 51
STRING : 55
TEXT : 31
TIMES : 20
TRUE : 8
TUPLE : 64 64
UINT : 52
ULONG : 53
USHORT : 54
VARIABLE : 30 34 35 40 41 56 57
WHILE : 36 58
error :
Nonterminals, with rules where they appear
assignacion : 34 35 40 41
booleano : 7 7 33
connectlog : 5 7
datos : 37 57 60 60 64 64 64 64
declaracion : 37 59
expresionlogic : 4 5 5 36 37 38 39
expression : 3 36 37 38 39 39 56 58 58 59 59 60 65 66 0
oper : 37
oplog : 6
opmat : 2 3
term : 1 2 2 3 3 6 6 57 60 61 61 62 62 63 63 64 64 64 65 66 67
Parsing method: LALR
state 0
(0) S' -> . expression
(1) expression -> . term
(2) expression -> . term opmat term
(3) expression -> . term opmat term expression
(4) expression -> . expresionlogic
(5) expression -> . expresionlogic connectlog expresionlogic
(34) expression -> . VARIABLE assignacion SEMICOLON
(35) expression -> . assignacion VARIABLE SEMICOLON
(36) expression -> . WHILE LPAREN expresionlogic RPAREN LBRACKET expression RBRACKET
(37) expression -> . FOR LPAREN datos declaracion expresionlogic SEMICOLON oper RPAREN LBRACKET expression RBRACKET
(38) expression -> . IF LPAREN expresionlogic RPAREN LBRACKET expression RBRACKET
(39) expression -> . IF LPAREN expresionlogic RPAREN LBRACKET expression RBRACKET ELSE LBRACKET expression RBRACKET
(57) expression -> . datos VARIABLE ASSIGNMENT term SEMICOLON
(58) expression -> . WHILE LPAREN expression RPAREN LBRACKET expression RBRACKET
(59) expression -> . FOR LPAREN declaracion expression SEMICOLON RPAREN LBRACKET expression RBRACKET
(60) expression -> . LIST LESSERTHAN datos GREATERTHAN term ASSIGNMENT NEW LIST LESSERTHAN datos GREATERTHAN LPAREN RPAREN LBRACKET expression RBRACKET SEMICOLON
(61) expression -> . term POINT ADD LPAREN term RPAREN SEMICOLON
(62) expression -> . term POINT REMOVE LPAREN term RPAREN SEMICOLON
(63) expression -> . term POINT REMOVEAT LPAREN term RPAREN SEMICOLON
(64) expression -> . TUPLE LESSERTHAN LPAREN datos COMMA datos RPAREN GREATERTHAN term ASSIGNMENT NEW TUPLE LPAREN datos COMMA datos RPAREN LPAREN term COMMA term RPAREN SEMICOLON
(65) expression -> . term POINT EQUALS LPAREN expression RPAREN SEMICOLON
(66) expression -> . term POINT COMPARETO LPAREN expression RPAREN SEMICOLON
(67) expression -> . term POINT ITEM SEMICOLON
(29) term -> . NUMBER
(30) term -> . VARIABLE
(31) term -> . TEXT
(32) term -> . NUMDEC
(33) term -> . booleano
(6) expresionlogic -> . term oplog term
(7) expresionlogic -> . booleano connectlog booleano
(23) assignacion -> . INCREMENT
(24) assignacion -> . DECREMENT
(25) assignacion -> . COMPASSIGPLUS
(26) assignacion -> . COMPASSIGMINUS
(27) assignacion -> . COMPASSIGTIMES
(28) assignacion -> . COMPASSIGDIVIDE
(42) datos -> . BOOL
(43) datos -> . BYTE
(44) datos -> . CHAR
(45) datos -> . DECIMAL
(46) datos -> . DOUBLE
(47) datos -> . FLOAT
(48) datos -> . INT
(49) datos -> . LONG
(50) datos -> . SBYTE
(51) datos -> . SHORT
(52) datos -> . UINT
(53) datos -> . ULONG
(54) datos -> . USHORT
(55) datos -> . STRING
(8) booleano -> . TRUE
(9) booleano -> . FALSE
VARIABLE shift and go to state 4
WHILE shift and go to state 6
FOR shift and go to state 7
IF shift and go to state 9
LIST shift and go to state 10
TUPLE shift and go to state 11
NUMBER shift and go to state 12
TEXT shift and go to state 13
NUMDEC shift and go to state 14
INCREMENT shift and go to state 16
DECREMENT shift and go to state 17
COMPASSIGPLUS shift and go to state 18
COMPASSIGMINUS shift and go to state 19
COMPASSIGTIMES shift and go to state 20
COMPASSIGDIVIDE shift and go to state 21
BOOL shift and go to state 22
BYTE shift and go to state 23
CHAR shift and go to state 24
DECIMAL shift and go to state 25
DOUBLE shift and go to state 26
FLOAT shift and go to state 27
INT shift and go to state 28
LONG shift and go to state 29
SBYTE shift and go to state 30
SHORT shift and go to state 31
UINT shift and go to state 32
ULONG shift and go to state 33
USHORT shift and go to state 34
STRING shift and go to state 35
TRUE shift and go to state 36
FALSE shift and go to state 37
expression shift and go to state 1
term shift and go to state 2
expresionlogic shift and go to state 3
assignacion shift and go to state 5
datos shift and go to state 8
booleano shift and go to state 15
state 1
(0) S' -> expression .
state 2
(1) expression -> term .
(2) expression -> term . opmat term
(3) expression -> term . opmat term expression
(61) expression -> term . POINT ADD LPAREN term RPAREN SEMICOLON
(62) expression -> term . POINT REMOVE LPAREN term RPAREN SEMICOLON
(63) expression -> term . POINT REMOVEAT LPAREN term RPAREN SEMICOLON
(65) expression -> term . POINT EQUALS LPAREN expression RPAREN SEMICOLON
(66) expression -> term . POINT COMPARETO LPAREN expression RPAREN SEMICOLON
(67) expression -> term . POINT ITEM SEMICOLON
(6) expresionlogic -> term . oplog term
(18) opmat -> . PLUS
(19) opmat -> . MINUS
(20) opmat -> . TIMES
(21) opmat -> . DIVIDE
(22) opmat -> . MOD
(12) oplog -> . EQUAL
(13) oplog -> . NOTEQUAL
(14) oplog -> . GREATERTHAN
(15) oplog -> . GREATERTHANEQUAL
(16) oplog -> . LESSERTHAN
(17) oplog -> . LESSERTHANEQUAL
$end reduce using rule 1 (expression -> term .)
RPAREN reduce using rule 1 (expression -> term .)
SEMICOLON reduce using rule 1 (expression -> term .)
RBRACKET reduce using rule 1 (expression -> term .)
POINT shift and go to state 39
PLUS shift and go to state 41
MINUS shift and go to state 42
TIMES shift and go to state 43
DIVIDE shift and go to state 44
MOD shift and go to state 45
EQUAL shift and go to state 46
NOTEQUAL shift and go to state 47
GREATERTHAN shift and go to state 48
GREATERTHANEQUAL shift and go to state 49
LESSERTHAN shift and go to state 50
LESSERTHANEQUAL shift and go to state 51
opmat shift and go to state 38
oplog shift and go to state 40
state 3
(4) expression -> expresionlogic .
(5) expression -> expresionlogic . connectlog expresionlogic
(10) connectlog -> . AND
(11) connectlog -> . OR
$end reduce using rule 4 (expression -> expresionlogic .)
RPAREN reduce using rule 4 (expression -> expresionlogic .)
SEMICOLON reduce using rule 4 (expression -> expresionlogic .)
RBRACKET reduce using rule 4 (expression -> expresionlogic .)
AND shift and go to state 53
OR shift and go to state 54
connectlog shift and go to state 52
state 4
(34) expression -> VARIABLE . assignacion SEMICOLON
(30) term -> VARIABLE .
(23) assignacion -> . INCREMENT
(24) assignacion -> . DECREMENT
(25) assignacion -> . COMPASSIGPLUS
(26) assignacion -> . COMPASSIGMINUS
(27) assignacion -> . COMPASSIGTIMES
(28) assignacion -> . COMPASSIGDIVIDE
POINT reduce using rule 30 (term -> VARIABLE .)
PLUS reduce using rule 30 (term -> VARIABLE .)
MINUS reduce using rule 30 (term -> VARIABLE .)
TIMES reduce using rule 30 (term -> VARIABLE .)
DIVIDE reduce using rule 30 (term -> VARIABLE .)
MOD reduce using rule 30 (term -> VARIABLE .)
EQUAL reduce using rule 30 (term -> VARIABLE .)
NOTEQUAL reduce using rule 30 (term -> VARIABLE .)
GREATERTHAN reduce using rule 30 (term -> VARIABLE .)
GREATERTHANEQUAL reduce using rule 30 (term -> VARIABLE .)
LESSERTHAN reduce using rule 30 (term -> VARIABLE .)
LESSERTHANEQUAL reduce using rule 30 (term -> VARIABLE .)
$end reduce using rule 30 (term -> VARIABLE .)
RPAREN reduce using rule 30 (term -> VARIABLE .)
SEMICOLON reduce using rule 30 (term -> VARIABLE .)
RBRACKET reduce using rule 30 (term -> VARIABLE .)
INCREMENT shift and go to state 16
DECREMENT shift and go to state 17
COMPASSIGPLUS shift and go to state 18
COMPASSIGMINUS shift and go to state 19
COMPASSIGTIMES shift and go to state 20
COMPASSIGDIVIDE shift and go to state 21
assignacion shift and go to state 55
state 5
(35) expression -> assignacion . VARIABLE SEMICOLON
VARIABLE shift and go to state 56
state 6
(36) expression -> WHILE . LPAREN expresionlogic RPAREN LBRACKET expression RBRACKET
(58) expression -> WHILE . LPAREN expression RPAREN LBRACKET expression RBRACKET
LPAREN shift and go to state 57
state 7
(37) expression -> FOR . LPAREN datos declaracion expresionlogic SEMICOLON oper RPAREN LBRACKET expression RBRACKET
(59) expression -> FOR . LPAREN declaracion expression SEMICOLON RPAREN LBRACKET expression RBRACKET
LPAREN shift and go to state 58
state 8
(57) expression -> datos . VARIABLE ASSIGNMENT term SEMICOLON
VARIABLE shift and go to state 59
state 9
(38) expression -> IF . LPAREN expresionlogic RPAREN LBRACKET expression RBRACKET
(39) expression -> IF . LPAREN expresionlogic RPAREN LBRACKET expression RBRACKET ELSE LBRACKET expression RBRACKET
LPAREN shift and go to state 60
state 10
(60) expression -> LIST . LESSERTHAN datos GREATERTHAN term ASSIGNMENT NEW LIST LESSERTHAN datos GREATERTHAN LPAREN RPAREN LBRACKET expression RBRACKET SEMICOLON
LESSERTHAN shift and go to state 61
state 11
(64) expression -> TUPLE . LESSERTHAN LPAREN datos COMMA datos RPAREN GREATERTHAN term ASSIGNMENT NEW TUPLE LPAREN datos COMMA datos RPAREN LPAREN term COMMA term RPAREN SEMICOLON
LESSERTHAN shift and go to state 62
state 12
(29) term -> NUMBER .
POINT reduce using rule 29 (term -> NUMBER .)
PLUS reduce using rule 29 (term -> NUMBER .)
MINUS reduce using rule 29 (term -> NUMBER .)
TIMES reduce using rule 29 (term -> NUMBER .)
DIVIDE reduce using rule 29 (term -> NUMBER .)
MOD reduce using rule 29 (term -> NUMBER .)
EQUAL reduce using rule 29 (term -> NUMBER .)
NOTEQUAL reduce using rule 29 (term -> NUMBER .)
GREATERTHAN reduce using rule 29 (term -> NUMBER .)
GREATERTHANEQUAL reduce using rule 29 (term -> NUMBER .)
LESSERTHAN reduce using rule 29 (term -> NUMBER .)
LESSERTHANEQUAL reduce using rule 29 (term -> NUMBER .)
$end reduce using rule 29 (term -> NUMBER .)
VARIABLE reduce using rule 29 (term -> NUMBER .)
WHILE reduce using rule 29 (term -> NUMBER .)
FOR reduce using rule 29 (term -> NUMBER .)
IF reduce using rule 29 (term -> NUMBER .)
LIST reduce using rule 29 (term -> NUMBER .)
TUPLE reduce using rule 29 (term -> NUMBER .)
NUMBER reduce using rule 29 (term -> NUMBER .)
TEXT reduce using rule 29 (term -> NUMBER .)
NUMDEC reduce using rule 29 (term -> NUMBER .)
INCREMENT reduce using rule 29 (term -> NUMBER .)
DECREMENT reduce using rule 29 (term -> NUMBER .)
COMPASSIGPLUS reduce using rule 29 (term -> NUMBER .)
COMPASSIGMINUS reduce using rule 29 (term -> NUMBER .)
COMPASSIGTIMES reduce using rule 29 (term -> NUMBER .)
COMPASSIGDIVIDE reduce using rule 29 (term -> NUMBER .)
BOOL reduce using rule 29 (term -> NUMBER .)
BYTE reduce using rule 29 (term -> NUMBER .)
CHAR reduce using rule 29 (term -> NUMBER .)
DECIMAL reduce using rule 29 (term -> NUMBER .)
DOUBLE reduce using rule 29 (term -> NUMBER .)
FLOAT reduce using rule 29 (term -> NUMBER .)
INT reduce using rule 29 (term -> NUMBER .)
LONG reduce using rule 29 (term -> NUMBER .)
SBYTE reduce using rule 29 (term -> NUMBER .)
SHORT reduce using rule 29 (term -> NUMBER .)
UINT reduce using rule 29 (term -> NUMBER .)
ULONG reduce using rule 29 (term -> NUMBER .)
USHORT reduce using rule 29 (term -> NUMBER .)
STRING reduce using rule 29 (term -> NUMBER .)
TRUE reduce using rule 29 (term -> NUMBER .)
FALSE reduce using rule 29 (term -> NUMBER .)
RPAREN reduce using rule 29 (term -> NUMBER .)
SEMICOLON reduce using rule 29 (term -> NUMBER .)
RBRACKET reduce using rule 29 (term -> NUMBER .)
AND reduce using rule 29 (term -> NUMBER .)
OR reduce using rule 29 (term -> NUMBER .)
ASSIGNMENT reduce using rule 29 (term -> NUMBER .)
COMMA reduce using rule 29 (term -> NUMBER .)
state 13
(31) term -> TEXT .
POINT reduce using rule 31 (term -> TEXT .)
PLUS reduce using rule 31 (term -> TEXT .)
MINUS reduce using rule 31 (term -> TEXT .)
TIMES reduce using rule 31 (term -> TEXT .)
DIVIDE reduce using rule 31 (term -> TEXT .)
MOD reduce using rule 31 (term -> TEXT .)
EQUAL reduce using rule 31 (term -> TEXT .)
NOTEQUAL reduce using rule 31 (term -> TEXT .)
GREATERTHAN reduce using rule 31 (term -> TEXT .)
GREATERTHANEQUAL reduce using rule 31 (term -> TEXT .)
LESSERTHAN reduce using rule 31 (term -> TEXT .)
LESSERTHANEQUAL reduce using rule 31 (term -> TEXT .)
$end reduce using rule 31 (term -> TEXT .)
VARIABLE reduce using rule 31 (term -> TEXT .)
WHILE reduce using rule 31 (term -> TEXT .)
FOR reduce using rule 31 (term -> TEXT .)
IF reduce using rule 31 (term -> TEXT .)
LIST reduce using rule 31 (term -> TEXT .)
TUPLE reduce using rule 31 (term -> TEXT .)
NUMBER reduce using rule 31 (term -> TEXT .)
TEXT reduce using rule 31 (term -> TEXT .)
NUMDEC reduce using rule 31 (term -> TEXT .)
INCREMENT reduce using rule 31 (term -> TEXT .)
DECREMENT reduce using rule 31 (term -> TEXT .)
COMPASSIGPLUS reduce using rule 31 (term -> TEXT .)
COMPASSIGMINUS reduce using rule 31 (term -> TEXT .)
COMPASSIGTIMES reduce using rule 31 (term -> TEXT .)
COMPASSIGDIVIDE reduce using rule 31 (term -> TEXT .)
BOOL reduce using rule 31 (term -> TEXT .)
BYTE reduce using rule 31 (term -> TEXT .)
CHAR reduce using rule 31 (term -> TEXT .)
DECIMAL reduce using rule 31 (term -> TEXT .)
DOUBLE reduce using rule 31 (term -> TEXT .)
FLOAT reduce using rule 31 (term -> TEXT .)
INT reduce using rule 31 (term -> TEXT .)
LONG reduce using rule 31 (term -> TEXT .)
SBYTE reduce using rule 31 (term -> TEXT .)
SHORT reduce using rule 31 (term -> TEXT .)
UINT reduce using rule 31 (term -> TEXT .)
ULONG reduce using rule 31 (term -> TEXT .)
USHORT reduce using rule 31 (term -> TEXT .)
STRING reduce using rule 31 (term -> TEXT .)
TRUE reduce using rule 31 (term -> TEXT .)
FALSE reduce using rule 31 (term -> TEXT .)
RPAREN reduce using rule 31 (term -> TEXT .)
SEMICOLON reduce using rule 31 (term -> TEXT .)
RBRACKET reduce using rule 31 (term -> TEXT .)
AND reduce using rule 31 (term -> TEXT .)
OR reduce using rule 31 (term -> TEXT .)
ASSIGNMENT reduce using rule 31 (term -> TEXT .)
COMMA reduce using rule 31 (term -> TEXT .)
state 14
(32) term -> NUMDEC .
POINT reduce using rule 32 (term -> NUMDEC .)
PLUS reduce using rule 32 (term -> NUMDEC .)
MINUS reduce using rule 32 (term -> NUMDEC .)
TIMES reduce using rule 32 (term -> NUMDEC .)
DIVIDE reduce using rule 32 (term -> NUMDEC .)
MOD reduce using rule 32 (term -> NUMDEC .)
EQUAL reduce using rule 32 (term -> NUMDEC .)
NOTEQUAL reduce using rule 32 (term -> NUMDEC .)
GREATERTHAN reduce using rule 32 (term -> NUMDEC .)
GREATERTHANEQUAL reduce using rule 32 (term -> NUMDEC .)
LESSERTHAN reduce using rule 32 (term -> NUMDEC .)
LESSERTHANEQUAL reduce using rule 32 (term -> NUMDEC .)
$end reduce using rule 32 (term -> NUMDEC .)
VARIABLE reduce using rule 32 (term -> NUMDEC .)
WHILE reduce using rule 32 (term -> NUMDEC .)
FOR reduce using rule 32 (term -> NUMDEC .)
IF reduce using rule 32 (term -> NUMDEC .)
LIST reduce using rule 32 (term -> NUMDEC .)
TUPLE reduce using rule 32 (term -> NUMDEC .)
NUMBER reduce using rule 32 (term -> NUMDEC .)
TEXT reduce using rule 32 (term -> NUMDEC .)
NUMDEC reduce using rule 32 (term -> NUMDEC .)
INCREMENT reduce using rule 32 (term -> NUMDEC .)
DECREMENT reduce using rule 32 (term -> NUMDEC .)
COMPASSIGPLUS reduce using rule 32 (term -> NUMDEC .)
COMPASSIGMINUS reduce using rule 32 (term -> NUMDEC .)
COMPASSIGTIMES reduce using rule 32 (term -> NUMDEC .)
COMPASSIGDIVIDE reduce using rule 32 (term -> NUMDEC .)
BOOL reduce using rule 32 (term -> NUMDEC .)
BYTE reduce using rule 32 (term -> NUMDEC .)
CHAR reduce using rule 32 (term -> NUMDEC .)
DECIMAL reduce using rule 32 (term -> NUMDEC .)
DOUBLE reduce using rule 32 (term -> NUMDEC .)
FLOAT reduce using rule 32 (term -> NUMDEC .)
INT reduce using rule 32 (term -> NUMDEC .)
LONG reduce using rule 32 (term -> NUMDEC .)
SBYTE reduce using rule 32 (term -> NUMDEC .)
SHORT reduce using rule 32 (term -> NUMDEC .)
UINT reduce using rule 32 (term -> NUMDEC .)
ULONG reduce using rule 32 (term -> NUMDEC .)
USHORT reduce using rule 32 (term -> NUMDEC .)
STRING reduce using rule 32 (term -> NUMDEC .)
TRUE reduce using rule 32 (term -> NUMDEC .)
FALSE reduce using rule 32 (term -> NUMDEC .)
RPAREN reduce using rule 32 (term -> NUMDEC .)
SEMICOLON reduce using rule 32 (term -> NUMDEC .)
RBRACKET reduce using rule 32 (term -> NUMDEC .)
AND reduce using rule 32 (term -> NUMDEC .)
OR reduce using rule 32 (term -> NUMDEC .)
ASSIGNMENT reduce using rule 32 (term -> NUMDEC .)
COMMA reduce using rule 32 (term -> NUMDEC .)
state 15
(33) term -> booleano .
(7) expresionlogic -> booleano . connectlog booleano
(10) connectlog -> . AND
(11) connectlog -> . OR
POINT reduce using rule 33 (term -> booleano .)
PLUS reduce using rule 33 (term -> booleano .)
MINUS reduce using rule 33 (term -> booleano .)
TIMES reduce using rule 33 (term -> booleano .)
DIVIDE reduce using rule 33 (term -> booleano .)
MOD reduce using rule 33 (term -> booleano .)
EQUAL reduce using rule 33 (term -> booleano .)
NOTEQUAL reduce using rule 33 (term -> booleano .)
GREATERTHAN reduce using rule 33 (term -> booleano .)
GREATERTHANEQUAL reduce using rule 33 (term -> booleano .)
LESSERTHAN reduce using rule 33 (term -> booleano .)
LESSERTHANEQUAL reduce using rule 33 (term -> booleano .)
$end reduce using rule 33 (term -> booleano .)
RPAREN reduce using rule 33 (term -> booleano .)
SEMICOLON reduce using rule 33 (term -> booleano .)
RBRACKET reduce using rule 33 (term -> booleano .)
AND shift and go to state 53
OR shift and go to state 54
connectlog shift and go to state 63
state 16
(23) assignacion -> INCREMENT .
VARIABLE reduce using rule 23 (assignacion -> INCREMENT .)
SEMICOLON reduce using rule 23 (assignacion -> INCREMENT .)
RPAREN reduce using rule 23 (assignacion -> INCREMENT .)
state 17
(24) assignacion -> DECREMENT .
VARIABLE reduce using rule 24 (assignacion -> DECREMENT .)
SEMICOLON reduce using rule 24 (assignacion -> DECREMENT .)
RPAREN reduce using rule 24 (assignacion -> DECREMENT .)
state 18
(25) assignacion -> COMPASSIGPLUS .
VARIABLE reduce using rule 25 (assignacion -> COMPASSIGPLUS .)
SEMICOLON reduce using rule 25 (assignacion -> COMPASSIGPLUS .)
RPAREN reduce using rule 25 (assignacion -> COMPASSIGPLUS .)
state 19
(26) assignacion -> COMPASSIGMINUS .
VARIABLE reduce using rule 26 (assignacion -> COMPASSIGMINUS .)
SEMICOLON reduce using rule 26 (assignacion -> COMPASSIGMINUS .)
RPAREN reduce using rule 26 (assignacion -> COMPASSIGMINUS .)
state 20
(27) assignacion -> COMPASSIGTIMES .
VARIABLE reduce using rule 27 (assignacion -> COMPASSIGTIMES .)
SEMICOLON reduce using rule 27 (assignacion -> COMPASSIGTIMES .)
RPAREN reduce using rule 27 (assignacion -> COMPASSIGTIMES .)
state 21
(28) assignacion -> COMPASSIGDIVIDE .
VARIABLE reduce using rule 28 (assignacion -> COMPASSIGDIVIDE .)
SEMICOLON reduce using rule 28 (assignacion -> COMPASSIGDIVIDE .)
RPAREN reduce using rule 28 (assignacion -> COMPASSIGDIVIDE .)
state 22
(42) datos -> BOOL .
VARIABLE reduce using rule 42 (datos -> BOOL .)
GREATERTHAN reduce using rule 42 (datos -> BOOL .)
COMMA reduce using rule 42 (datos -> BOOL .)
RPAREN reduce using rule 42 (datos -> BOOL .)
state 23
(43) datos -> BYTE .
VARIABLE reduce using rule 43 (datos -> BYTE .)
GREATERTHAN reduce using rule 43 (datos -> BYTE .)
COMMA reduce using rule 43 (datos -> BYTE .)
RPAREN reduce using rule 43 (datos -> BYTE .)
state 24
(44) datos -> CHAR .
VARIABLE reduce using rule 44 (datos -> CHAR .)
GREATERTHAN reduce using rule 44 (datos -> CHAR .)
COMMA reduce using rule 44 (datos -> CHAR .)
RPAREN reduce using rule 44 (datos -> CHAR .)
state 25
(45) datos -> DECIMAL .
VARIABLE reduce using rule 45 (datos -> DECIMAL .)
GREATERTHAN reduce using rule 45 (datos -> DECIMAL .)
COMMA reduce using rule 45 (datos -> DECIMAL .)
RPAREN reduce using rule 45 (datos -> DECIMAL .)
state 26
(46) datos -> DOUBLE .
VARIABLE reduce using rule 46 (datos -> DOUBLE .)
GREATERTHAN reduce using rule 46 (datos -> DOUBLE .)
COMMA reduce using rule 46 (datos -> DOUBLE .)
RPAREN reduce using rule 46 (datos -> DOUBLE .)
state 27
(47) datos -> FLOAT .
VARIABLE reduce using rule 47 (datos -> FLOAT .)
GREATERTHAN reduce using rule 47 (datos -> FLOAT .)
COMMA reduce using rule 47 (datos -> FLOAT .)
RPAREN reduce using rule 47 (datos -> FLOAT .)
state 28
(48) datos -> INT .
VARIABLE reduce using rule 48 (datos -> INT .)
GREATERTHAN reduce using rule 48 (datos -> INT .)
COMMA reduce using rule 48 (datos -> INT .)
RPAREN reduce using rule 48 (datos -> INT .)
state 29
(49) datos -> LONG .
VARIABLE reduce using rule 49 (datos -> LONG .)
GREATERTHAN reduce using rule 49 (datos -> LONG .)
COMMA reduce using rule 49 (datos -> LONG .)
RPAREN reduce using rule 49 (datos -> LONG .)
state 30
(50) datos -> SBYTE .
VARIABLE reduce using rule 50 (datos -> SBYTE .)
GREATERTHAN reduce using rule 50 (datos -> SBYTE .)
COMMA reduce using rule 50 (datos -> SBYTE .)
RPAREN reduce using rule 50 (datos -> SBYTE .)
state 31
(51) datos -> SHORT .
VARIABLE reduce using rule 51 (datos -> SHORT .)
GREATERTHAN reduce using rule 51 (datos -> SHORT .)
COMMA reduce using rule 51 (datos -> SHORT .)
RPAREN reduce using rule 51 (datos -> SHORT .)
state 32
(52) datos -> UINT .
VARIABLE reduce using rule 52 (datos -> UINT .)
GREATERTHAN reduce using rule 52 (datos -> UINT .)
COMMA reduce using rule 52 (datos -> UINT .)
RPAREN reduce using rule 52 (datos -> UINT .)
state 33
(53) datos -> ULONG .
VARIABLE reduce using rule 53 (datos -> ULONG .)
GREATERTHAN reduce using rule 53 (datos -> ULONG .)
COMMA reduce using rule 53 (datos -> ULONG .)
RPAREN reduce using rule 53 (datos -> ULONG .)
state 34
(54) datos -> USHORT .
VARIABLE reduce using rule 54 (datos -> USHORT .)
GREATERTHAN reduce using rule 54 (datos -> USHORT .)
COMMA reduce using rule 54 (datos -> USHORT .)
RPAREN reduce using rule 54 (datos -> USHORT .)
state 35
(55) datos -> STRING .
VARIABLE reduce using rule 55 (datos -> STRING .)
GREATERTHAN reduce using rule 55 (datos -> STRING .)
COMMA reduce using rule 55 (datos -> STRING .)
RPAREN reduce using rule 55 (datos -> STRING .)
state 36
(8) booleano -> TRUE .
AND reduce using rule 8 (booleano -> TRUE .)
OR reduce using rule 8 (booleano -> TRUE .)
POINT reduce using rule 8 (booleano -> TRUE .)
PLUS reduce using rule 8 (booleano -> TRUE .)
MINUS reduce using rule 8 (booleano -> TRUE .)
TIMES reduce using rule 8 (booleano -> TRUE .)
DIVIDE reduce using rule 8 (booleano -> TRUE .)
MOD reduce using rule 8 (booleano -> TRUE .)
EQUAL reduce using rule 8 (booleano -> TRUE .)
NOTEQUAL reduce using rule 8 (booleano -> TRUE .)
GREATERTHAN reduce using rule 8 (booleano -> TRUE .)
GREATERTHANEQUAL reduce using rule 8 (booleano -> TRUE .)
LESSERTHAN reduce using rule 8 (booleano -> TRUE .)
LESSERTHANEQUAL reduce using rule 8 (booleano -> TRUE .)
$end reduce using rule 8 (booleano -> TRUE .)
VARIABLE reduce using rule 8 (booleano -> TRUE .)
WHILE reduce using rule 8 (booleano -> TRUE .)
FOR reduce using rule 8 (booleano -> TRUE .)
IF reduce using rule 8 (booleano -> TRUE .)
LIST reduce using rule 8 (booleano -> TRUE .)
TUPLE reduce using rule 8 (booleano -> TRUE .)
NUMBER reduce using rule 8 (booleano -> TRUE .)
TEXT reduce using rule 8 (booleano -> TRUE .)
NUMDEC reduce using rule 8 (booleano -> TRUE .)
INCREMENT reduce using rule 8 (booleano -> TRUE .)
DECREMENT reduce using rule 8 (booleano -> TRUE .)
COMPASSIGPLUS reduce using rule 8 (booleano -> TRUE .)
COMPASSIGMINUS reduce using rule 8 (booleano -> TRUE .)
COMPASSIGTIMES reduce using rule 8 (booleano -> TRUE .)
COMPASSIGDIVIDE reduce using rule 8 (booleano -> TRUE .)
BOOL reduce using rule 8 (booleano -> TRUE .)
BYTE reduce using rule 8 (booleano -> TRUE .)
CHAR reduce using rule 8 (booleano -> TRUE .)
DECIMAL reduce using rule 8 (booleano -> TRUE .)
DOUBLE reduce using rule 8 (booleano -> TRUE .)
FLOAT reduce using rule 8 (booleano -> TRUE .)
INT reduce using rule 8 (booleano -> TRUE .)
LONG reduce using rule 8 (booleano -> TRUE .)
SBYTE reduce using rule 8 (booleano -> TRUE .)
SHORT reduce using rule 8 (booleano -> TRUE .)
UINT reduce using rule 8 (booleano -> TRUE .)
ULONG reduce using rule 8 (booleano -> TRUE .)
USHORT reduce using rule 8 (booleano -> TRUE .)
STRING reduce using rule 8 (booleano -> TRUE .)
TRUE reduce using rule 8 (booleano -> TRUE .)
FALSE reduce using rule 8 (booleano -> TRUE .)
RPAREN reduce using rule 8 (booleano -> TRUE .)
SEMICOLON reduce using rule 8 (booleano -> TRUE .)
RBRACKET reduce using rule 8 (booleano -> TRUE .)
ASSIGNMENT reduce using rule 8 (booleano -> TRUE .)
COMMA reduce using rule 8 (booleano -> TRUE .)
state 37
(9) booleano -> FALSE .
AND reduce using rule 9 (booleano -> FALSE .)
OR reduce using rule 9 (booleano -> FALSE .)
POINT reduce using rule 9 (booleano -> FALSE .)
PLUS reduce using rule 9 (booleano -> FALSE .)
MINUS reduce using rule 9 (booleano -> FALSE .)
TIMES reduce using rule 9 (booleano -> FALSE .)
DIVIDE reduce using rule 9 (booleano -> FALSE .)
MOD reduce using rule 9 (booleano -> FALSE .)
EQUAL reduce using rule 9 (booleano -> FALSE .)
NOTEQUAL reduce using rule 9 (booleano -> FALSE .)
GREATERTHAN reduce using rule 9 (booleano -> FALSE .)
GREATERTHANEQUAL reduce using rule 9 (booleano -> FALSE .)
LESSERTHAN reduce using rule 9 (booleano -> FALSE .)
LESSERTHANEQUAL reduce using rule 9 (booleano -> FALSE .)
$end reduce using rule 9 (booleano -> FALSE .)
VARIABLE reduce using rule 9 (booleano -> FALSE .)
WHILE reduce using rule 9 (booleano -> FALSE .)
FOR reduce using rule 9 (booleano -> FALSE .)
IF reduce using rule 9 (booleano -> FALSE .)
LIST reduce using rule 9 (booleano -> FALSE .)
TUPLE reduce using rule 9 (booleano -> FALSE .)
NUMBER reduce using rule 9 (booleano -> FALSE .)
TEXT reduce using rule 9 (booleano -> FALSE .)
NUMDEC reduce using rule 9 (booleano -> FALSE .)
INCREMENT reduce using rule 9 (booleano -> FALSE .)
DECREMENT reduce using rule 9 (booleano -> FALSE .)
COMPASSIGPLUS reduce using rule 9 (booleano -> FALSE .)
COMPASSIGMINUS reduce using rule 9 (booleano -> FALSE .)
COMPASSIGTIMES reduce using rule 9 (booleano -> FALSE .)
COMPASSIGDIVIDE reduce using rule 9 (booleano -> FALSE .)
BOOL reduce using rule 9 (booleano -> FALSE .)
BYTE reduce using rule 9 (booleano -> FALSE .)
CHAR reduce using rule 9 (booleano -> FALSE .)
DECIMAL reduce using rule 9 (booleano -> FALSE .)
DOUBLE reduce using rule 9 (booleano -> FALSE .)
FLOAT reduce using rule 9 (booleano -> FALSE .)
INT reduce using rule 9 (booleano -> FALSE .)
LONG reduce using rule 9 (booleano -> FALSE .)
SBYTE reduce using rule 9 (booleano -> FALSE .)
SHORT reduce using rule 9 (booleano -> FALSE .)
UINT reduce using rule 9 (booleano -> FALSE .)
ULONG reduce using rule 9 (booleano -> FALSE .)
USHORT reduce using rule 9 (booleano -> FALSE .)
STRING reduce using rule 9 (booleano -> FALSE .)
TRUE reduce using rule 9 (booleano -> FALSE .)
FALSE reduce using rule 9 (booleano -> FALSE .)
RPAREN reduce using rule 9 (booleano -> FALSE .)
SEMICOLON reduce using rule 9 (booleano -> FALSE .)
RBRACKET reduce using rule 9 (booleano -> FALSE .)
ASSIGNMENT reduce using rule 9 (booleano -> FALSE .)
COMMA reduce using rule 9 (booleano -> FALSE .)
state 38
(2) expression -> term opmat . term
(3) expression -> term opmat . term expression
(29) term -> . NUMBER
(30) term -> . VARIABLE
(31) term -> . TEXT
(32) term -> . NUMDEC
(33) term -> . booleano
(8) booleano -> . TRUE
(9) booleano -> . FALSE
NUMBER shift and go to state 12
VARIABLE shift and go to state 65
TEXT shift and go to state 13
NUMDEC shift and go to state 14
TRUE shift and go to state 36
FALSE shift and go to state 37
term shift and go to state 64
booleano shift and go to state 66
state 39
(61) expression -> term POINT . ADD LPAREN term RPAREN SEMICOLON
(62) expression -> term POINT . REMOVE LPAREN term RPAREN SEMICOLON
(63) expression -> term POINT . REMOVEAT LPAREN term RPAREN SEMICOLON
(65) expression -> term POINT . EQUALS LPAREN expression RPAREN SEMICOLON
(66) expression -> term POINT . COMPARETO LPAREN expression RPAREN SEMICOLON
(67) expression -> term POINT . ITEM SEMICOLON
ADD shift and go to state 67
REMOVE shift and go to state 68
REMOVEAT shift and go to state 69
EQUALS shift and go to state 70
COMPARETO shift and go to state 71
ITEM shift and go to state 72
state 40
(6) expresionlogic -> term oplog . term
(29) term -> . NUMBER
(30) term -> . VARIABLE
(31) term -> . TEXT
(32) term -> . NUMDEC
(33) term -> . booleano
(8) booleano -> . TRUE
(9) booleano -> . FALSE
NUMBER shift and go to state 12
VARIABLE shift and go to state 65
TEXT shift and go to state 13
NUMDEC shift and go to state 14
TRUE shift and go to state 36
FALSE shift and go to state 37
term shift and go to state 73
booleano shift and go to state 66
state 41
(18) opmat -> PLUS .
NUMBER reduce using rule 18 (opmat -> PLUS .)
VARIABLE reduce using rule 18 (opmat -> PLUS .)
TEXT reduce using rule 18 (opmat -> PLUS .)
NUMDEC reduce using rule 18 (opmat -> PLUS .)
TRUE reduce using rule 18 (opmat -> PLUS .)
FALSE reduce using rule 18 (opmat -> PLUS .)
state 42
(19) opmat -> MINUS .
NUMBER reduce using rule 19 (opmat -> MINUS .)
VARIABLE reduce using rule 19 (opmat -> MINUS .)
TEXT reduce using rule 19 (opmat -> MINUS .)
NUMDEC reduce using rule 19 (opmat -> MINUS .)
TRUE reduce using rule 19 (opmat -> MINUS .)
FALSE reduce using rule 19 (opmat -> MINUS .)
state 43
(20) opmat -> TIMES .
NUMBER reduce using rule 20 (opmat -> TIMES .)
VARIABLE reduce using rule 20 (opmat -> TIMES .)
TEXT reduce using rule 20 (opmat -> TIMES .)
NUMDEC reduce using rule 20 (opmat -> TIMES .)