-
Notifications
You must be signed in to change notification settings - Fork 0
/
parsetab.py
executable file
·101 lines (94 loc) · 21.2 KB
/
parsetab.py
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
# parsetab.py
# This file is automatically generated. Do not edit.
_tabversion = '3.2'
_lr_method = 'LALR'
_lr_signature = 'qm\x1b4U\xa7H\xa4<\xb7"\xce\x10\x1e\xa7\xee'
_lr_action_items = {'Disyuncion':([7,10,11,13,16,18,20,21,23,27,33,34,36,44,45,46,48,49,64,66,68,69,80,81,82,83,85,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,112,113,114,115,124,125,137,],[-28,50,-29,-35,-31,-34,-66,-36,-32,-27,-67,-30,-33,50,-36,-32,50,-36,-50,-51,-53,50,-28,50,-34,50,50,-38,-45,-48,-44,-43,-41,-46,-47,-40,-42,-37,-39,-54,-49,50,-65,-64,-26,-52,50,50,50,]),'Negacion':([1,5,8,12,17,25,26,32,37,39,43,50,51,52,53,54,55,56,57,58,59,60,61,62,63,67,78,79,84,90,91,107,116,130,131,133,140,],[12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,]),'For':([1,43,78,79,107,116,130,133,140,],[5,5,5,5,5,5,5,5,5,]),'CorcheteCierra':([7,11,13,16,18,20,27,33,34,36,46,49,64,66,68,80,82,92,93,94,95,96,97,98,99,100,101,102,103,104,105,112,113,114,115,],[-28,-29,-35,-31,-34,-66,-27,-67,-30,-33,-32,-36,-50,-51,-53,112,113,-38,-45,-48,-44,-43,-41,-46,-47,-40,-42,-37,-39,-54,-49,-65,-64,-26,-52,]),'Igual':([7,10,11,13,16,18,20,21,23,27,33,34,36,44,45,46,48,49,64,66,68,69,80,81,82,83,85,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,112,113,114,115,124,125,137,],[-28,54,-29,-35,-31,-34,-66,-36,-32,-27,-67,-30,-33,54,-36,-32,54,-36,54,-51,-53,54,-28,54,-34,54,54,54,-45,-48,None,None,-41,-46,-47,-40,-42,54,-39,-54,-49,54,-65,-64,-26,-52,54,54,54,]),'Write':([1,43,78,79,107,116,130,133,140,],[8,8,8,8,8,8,8,8,8,]),'To':([7,11,13,16,18,20,27,33,34,36,44,45,46,49,64,66,68,92,93,94,95,96,97,98,99,100,101,102,103,104,105,112,113,114,115,125,],[-28,-29,-35,-31,-34,-66,-27,-67,-30,-33,90,-36,-32,-36,-50,-51,-53,-38,-45,-48,-44,-43,-41,-46,-47,-40,-42,-37,-39,-54,-49,-65,-64,-26,-52,131,]),'MayorIgual':([7,10,11,13,16,18,20,21,23,27,33,34,36,44,45,46,48,49,64,66,68,69,80,81,82,83,85,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,112,113,114,115,124,125,137,],[-28,58,-29,-35,-31,-34,-66,-36,-32,-27,-67,-30,-33,58,-36,-32,58,-36,58,-51,-53,58,-28,58,-34,58,58,58,-45,-48,58,58,None,-46,-47,None,None,58,None,-54,-49,58,-65,-64,-26,-52,58,58,58,]),'From':([45,],[91,]),'Punto':([28,70,71,72,73,74,75,76,77,108,],[72,-57,-58,-62,-61,-59,-63,72,-60,-56,]),'Type':([40,42,117,122,],[87,-8,-7,129,]),'Div':([7,10,11,13,16,18,20,21,23,27,33,34,36,44,45,46,48,49,64,66,68,69,80,81,82,83,85,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,112,113,114,115,124,125,137,],[-28,52,-29,-35,-31,-34,-66,-36,-32,-27,-67,-30,-33,52,-36,-32,52,-36,52,-51,-53,52,-28,52,-34,52,52,52,52,-48,52,52,52,52,-47,52,52,52,52,-54,-49,52,-65,-64,-26,-52,52,52,52,]),'Boolean':([87,129,],[119,119,]),'Then':([7,11,13,16,18,20,27,33,34,36,46,49,64,66,68,85,92,93,94,95,96,97,98,99,100,101,102,103,104,105,112,113,114,115,],[-28,-29,-35,-31,-34,-66,-27,-67,-30,-33,-32,-36,-50,-51,-53,116,-38,-45,-48,-44,-43,-41,-46,-47,-40,-42,-37,-39,-54,-49,-65,-64,-26,-52,]),'Mas':([7,10,11,13,16,18,20,21,23,27,28,33,34,36,44,45,46,48,49,64,66,68,69,70,71,72,73,74,75,76,77,80,81,82,83,85,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,108,112,113,114,115,124,125,137,],[-28,51,-29,-35,-31,-34,-66,-36,-32,-27,71,-67,-30,-33,51,-36,-32,51,-36,51,-51,-53,51,-57,-58,-62,-61,-59,-63,71,-60,-28,51,-34,51,51,51,-45,-48,51,51,51,-46,-47,51,51,51,51,-54,-49,51,-56,-65,-64,-26,-52,51,51,51,]),'Read':([1,43,78,79,107,116,130,133,140,],[15,15,15,15,15,15,15,15,15,]),'Desigual':([7,10,11,13,16,18,20,21,23,27,33,34,36,44,45,46,48,49,64,66,68,69,80,81,82,83,85,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,112,113,114,115,124,125,137,],[-28,53,-29,-35,-31,-34,-66,-36,-32,-27,-67,-30,-33,53,-36,-32,53,-36,53,-51,-53,53,-28,53,-34,53,53,53,-45,-48,None,None,-41,-46,-47,-40,-42,53,-39,-54,-49,53,-65,-64,-26,-52,53,53,53,]),'Else':([7,9,11,13,14,16,18,19,20,22,23,24,27,29,31,33,34,35,36,46,48,49,64,65,66,68,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,110,112,113,114,115,127,128,132,134,139,141,143,],[-28,-17,-29,-35,-14,-31,-34,-18,-66,-20,-15,-13,-27,-12,-19,-67,-30,-16,-33,-32,-72,-36,-50,-71,-51,-53,-38,-45,-48,-44,-43,-41,-46,-47,-40,-42,-37,-39,-54,-49,-23,-21,-65,-64,-26,-52,-3,133,-68,-25,-70,-24,-69,]),'Num':([1,5,8,12,17,25,26,32,37,39,43,50,51,52,53,54,55,56,57,58,59,60,61,62,63,67,78,79,84,90,91,107,116,130,131,133,140,],[13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,]),'Coma':([28,40,42,70,71,72,73,74,75,76,77,108,117,122,],[75,86,-8,-57,-58,-62,-61,-59,-63,75,-60,-56,-7,86,]),'Integer':([87,129,],[121,121,]),'True':([1,5,8,12,17,25,26,32,37,39,43,50,51,52,53,54,55,56,57,58,59,60,61,62,63,67,78,79,84,90,91,107,116,130,131,133,140,],[20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,]),'Concat':([7,10,11,13,16,18,20,21,23,27,33,34,36,44,45,46,48,49,64,66,68,69,80,81,82,83,85,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,112,113,114,115,124,125,137,],[-28,62,-29,-35,-31,-34,-66,-36,-32,-27,-67,-30,-33,62,-36,-32,62,-36,62,62,-53,62,-28,62,-34,62,62,62,62,62,62,62,62,62,62,62,62,62,62,-54,62,62,-65,-64,-26,-52,62,62,62,]),'$end':([3,47,123,],[0,-2,-1,]),'Execute':([0,4,30,41,118,119,120,121,135,],[1,43,79,-4,-6,-10,-11,-9,-5,]),'Ident':([1,2,5,8,12,15,17,25,26,32,37,39,43,50,51,52,53,54,55,56,57,58,59,60,61,62,63,67,78,79,84,86,88,90,91,107,116,130,131,133,140,],[21,42,45,49,49,65,49,49,49,49,49,49,21,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,21,21,49,117,42,49,49,21,21,21,49,21,21,]),'Asignacion':([21,],[67,]),'Do':([7,11,13,16,18,20,27,33,34,36,46,49,64,66,68,69,92,93,94,95,96,97,98,99,100,101,102,103,104,105,112,113,114,115,124,137,],[-28,-29,-35,-31,-34,-66,-27,-67,-30,-33,-32,-36,-50,-51,-53,107,-38,-45,-48,-44,-43,-41,-46,-47,-40,-42,-37,-39,-54,-49,-65,-64,-26,-52,130,140,]),'Inspeccion':([1,5,8,12,17,25,26,32,37,39,43,50,51,52,53,54,55,56,57,58,59,60,61,62,63,67,78,79,84,90,91,107,116,130,131,133,140,],[25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,]),'While':([1,43,78,79,107,116,130,133,140,],[26,26,26,26,26,26,26,26,26,]),'At':([38,109,],[84,-55,]),'MenorIgual':([7,10,11,13,16,18,20,21,23,27,33,34,36,44,45,46,48,49,64,66,68,69,80,81,82,83,85,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,112,113,114,115,124,125,137,],[-28,59,-29,-35,-31,-34,-66,-36,-32,-27,-67,-30,-33,59,-36,-32,59,-36,59,-51,-53,59,-28,59,-34,59,59,59,-45,-48,59,59,None,-46,-47,None,None,59,None,-54,-49,59,-65,-64,-26,-52,59,59,59,]),'Conjuncion':([7,10,11,13,16,18,20,21,23,27,33,34,36,44,45,46,48,49,64,66,68,69,80,81,82,83,85,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,112,113,114,115,124,125,137,],[-28,60,-29,-35,-31,-34,-66,-36,-32,-27,-67,-30,-33,60,-36,-32,60,-36,-50,-51,-53,60,-28,60,-34,60,60,60,-45,-48,-44,-43,-41,-46,-47,-40,-42,-37,-39,-54,-49,60,-65,-64,-26,-52,60,60,60,]),'Mult':([7,10,11,13,16,18,20,21,23,27,33,34,36,44,45,46,48,49,64,66,68,69,80,81,82,83,85,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,112,113,114,115,124,125,137,],[-28,57,-29,-35,-31,-34,-66,-36,-32,-27,-67,-30,-33,57,-36,-32,57,-36,57,-51,-53,57,-28,57,-34,57,57,57,57,-48,57,57,57,57,-47,57,57,57,57,-54,-49,57,-65,-64,-26,-52,57,57,57,]),'Declare':([0,1,43,78,79,107,116,130,133,140,],[2,2,2,2,2,2,2,2,2,2,]),'LlaveCierra':([70,71,72,73,74,75,76,77,108,],[-57,-58,-62,-61,-59,-63,109,-60,-56,]),'CorcheteAbre':([1,5,8,12,17,25,26,32,37,39,43,50,51,52,53,54,55,56,57,58,59,60,61,62,63,67,78,79,84,90,91,107,116,130,131,133,140,],[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,]),'Tape':([87,129,],[120,120,]),'False':([1,5,8,12,17,25,26,32,37,39,43,50,51,52,53,54,55,56,57,58,59,60,61,62,63,67,78,79,84,90,91,107,116,130,131,133,140,],[33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,]),'Menor':([7,10,11,13,16,18,20,21,23,27,28,33,34,36,44,45,46,48,49,64,66,68,69,70,71,72,73,74,75,76,77,80,81,82,83,85,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,108,112,113,114,115,124,125,137,],[-28,55,-29,-35,-31,-34,-66,-36,-32,-27,73,-67,-30,-33,55,-36,-32,55,-36,55,-51,-53,55,-57,-58,-62,-61,-59,-63,73,-60,-28,55,-34,55,55,55,-45,-48,55,55,None,-46,-47,None,None,55,None,-54,-49,55,-56,-65,-64,-26,-52,55,55,55,]),'Menos':([1,5,7,8,10,11,12,13,16,17,18,20,21,23,25,26,27,28,32,33,34,36,37,39,43,44,45,46,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,112,113,114,115,116,124,125,130,131,133,137,140,],[17,17,-28,17,56,-29,17,-35,-31,17,-34,-66,-36,-32,17,17,-27,74,17,-67,-30,-33,17,17,17,56,-36,-32,56,-36,17,17,17,17,17,17,17,17,17,17,17,17,17,17,56,-51,17,-53,56,-57,-58,-62,-61,-59,-63,74,-60,17,17,-28,56,-34,56,17,56,17,17,56,-45,-48,56,56,56,-46,-47,56,56,56,56,-54,-49,56,17,-56,-65,-64,-26,-52,17,56,56,17,17,17,56,17,]),'Done':([6,7,9,11,13,14,16,18,19,20,22,23,24,27,29,31,33,34,35,36,46,48,49,64,65,66,68,89,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,110,111,112,113,114,115,126,127,128,132,134,136,138,139,141,142,143,],[47,-28,-17,-29,-35,-14,-31,-34,-18,-66,-20,-15,-13,-27,-12,-19,-67,-30,-16,-33,-32,-72,-36,-50,-71,-51,-53,123,-38,-45,-48,-44,-43,-41,-46,-47,-40,-42,-37,-39,-54,-49,-23,-21,127,-65,-64,-26,-52,132,-3,134,-68,-25,139,141,-70,-24,143,-69,]),'PuntoYComa':([6,7,9,11,13,14,16,18,19,20,22,23,24,27,29,31,33,34,35,36,41,46,48,49,64,65,66,68,89,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,110,111,112,113,114,115,118,119,120,121,126,127,128,132,134,135,136,138,139,141,142,143,],[-22,-28,-17,-29,-35,-14,-31,-34,-18,-66,-20,-15,-13,-27,78,-19,-67,-30,-16,-33,88,-32,-72,-36,-50,-71,-51,-53,-22,-38,-45,-48,-44,-43,-41,-46,-47,-40,-42,-37,-39,-54,-49,-23,-21,-22,-65,-64,-26,-52,-6,-10,-11,-9,-22,-3,-22,-68,-25,-5,-22,-22,-70,-24,-22,-69,]),'ParCierra':([7,11,13,16,18,20,27,33,34,36,46,49,64,66,68,83,92,93,94,95,96,97,98,99,100,101,102,103,104,105,112,113,114,115,],[-28,-29,-35,-31,-34,-66,-27,-67,-30,-33,-32,-36,-50,-51,-53,114,-38,-45,-48,-44,-43,-41,-46,-47,-40,-42,-37,-39,-54,-49,-65,-64,-26,-52,]),'ParAbre':([1,5,8,12,17,25,26,32,37,39,43,50,51,52,53,54,55,56,57,58,59,60,61,62,63,67,78,79,84,90,91,107,116,130,131,133,140,],[37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,]),'LlaveAbre':([1,5,8,12,17,25,26,32,37,39,43,50,51,52,53,54,55,56,57,58,59,60,61,62,63,67,78,79,84,90,91,107,116,130,131,133,140,],[28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,]),'Mod':([7,10,11,13,16,18,20,21,23,27,33,34,36,44,45,46,48,49,64,66,68,69,80,81,82,83,85,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,112,113,114,115,124,125,137,],[-28,63,-29,-35,-31,-34,-66,-36,-32,-27,-67,-30,-33,63,-36,-32,63,-36,63,-51,-53,63,-28,63,-34,63,63,63,63,-48,63,63,63,63,-47,63,63,63,63,-54,-49,63,-65,-64,-26,-52,63,63,63,]),'Mayor':([7,10,11,13,16,18,20,21,23,27,28,33,34,36,44,45,46,48,49,64,66,68,69,70,71,72,73,74,75,76,77,80,81,82,83,85,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,108,112,113,114,115,124,125,137,],[-28,61,-29,-35,-31,-34,-66,-36,-32,-27,77,-67,-30,-33,61,-36,-32,61,-36,61,-51,-53,61,-57,-58,-62,-61,-59,-63,77,-60,-28,61,-34,61,61,61,-45,-48,61,61,None,-46,-47,None,None,61,None,-54,-49,61,-56,-65,-64,-26,-52,61,61,61,]),'If':([1,43,78,79,107,116,130,133,140,],[39,39,39,39,39,39,39,39,39,]),}
_lr_action = { }
for _k, _v in _lr_action_items.items():
for _x,_y in zip(_v[0],_v[1]):
if not _x in _lr_action: _lr_action[_x] = { }
_lr_action[_x][_k] = _y
del _lr_action_items
_lr_goto_items = {'INSTRUCCION':([1,43,78,79,107,116,130,133,140,],[6,89,110,111,126,128,136,138,142,]),'EXPBINARIT':([1,5,8,12,17,25,26,32,37,39,43,50,51,52,53,54,55,56,57,58,59,60,61,62,63,67,78,79,84,90,91,107,116,130,131,133,140,],[7,7,7,7,7,7,7,80,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,]),'ITERACIONINDET':([1,43,78,79,107,116,130,133,140,],[9,9,9,9,9,9,9,9,9,]),'PROGRAM':([0,],[3,]),'EXP':([1,5,8,12,17,25,26,32,37,39,43,50,51,52,53,54,55,56,57,58,59,60,61,62,63,67,78,79,84,90,91,107,116,130,131,133,140,],[10,44,48,64,66,68,69,81,83,85,10,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,10,10,115,124,125,10,10,10,137,10,10,]),'EXPUNABOOL':([1,5,8,12,17,25,26,32,37,39,43,50,51,52,53,54,55,56,57,58,59,60,61,62,63,67,78,79,84,90,91,107,116,130,131,133,140,],[11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,]),'OPERADORESBINST':([28,76,],[70,108,]),'ASIGNACION':([1,43,78,79,107,116,130,133,140,],[14,14,14,14,14,14,14,14,14,]),'EXPTAPE':([1,5,8,12,17,25,26,32,37,39,43,50,51,52,53,54,55,56,57,58,59,60,61,62,63,67,78,79,84,90,91,107,116,130,131,133,140,],[16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,]),'TERMINO':([1,5,8,12,17,25,26,32,37,39,43,50,51,52,53,54,55,56,57,58,59,60,61,62,63,67,78,79,84,90,91,107,116,130,131,133,140,],[18,18,18,18,18,18,18,82,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,]),'ITERACIONDET':([1,43,78,79,107,116,130,133,140,],[19,19,19,19,19,19,19,19,19,]),'IDENT':([2,88,],[40,122,]),'SALIDA':([1,43,78,79,107,116,130,133,140,],[22,22,22,22,22,22,22,22,22,]),'INSTAPE':([1,5,8,12,17,25,26,32,37,39,43,50,51,52,53,54,55,56,57,58,59,60,61,62,63,67,78,79,84,90,91,107,116,130,131,133,140,],[23,46,46,46,46,46,46,46,46,46,23,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,23,23,46,46,46,23,23,23,46,23,23,]),'SUBPROGRAM':([1,43,78,79,107,116,130,133,140,],[24,24,24,24,24,24,24,24,24,]),'EXPUNAARIT':([1,5,8,12,17,25,26,32,37,39,43,50,51,52,53,54,55,56,57,58,59,60,61,62,63,67,78,79,84,90,91,107,116,130,131,133,140,],[34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,]),'EXPBINBOOL':([1,5,8,12,17,25,26,32,37,39,43,50,51,52,53,54,55,56,57,58,59,60,61,62,63,67,78,79,84,90,91,107,116,130,131,133,140,],[27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,]),'SECUENCIACION':([1,43,78,79,107,116,130,133,140,],[29,29,29,29,29,29,29,29,29,]),'DECLARE':([0,1,43,78,79,107,116,130,133,140,],[4,30,30,30,30,30,30,30,30,30,]),'ENTRADA':([1,43,78,79,107,116,130,133,140,],[31,31,31,31,31,31,31,31,31,]),'TIPO':([87,129,],[118,135,]),'CONDICIONAL':([1,43,78,79,107,116,130,133,140,],[35,35,35,35,35,35,35,35,35,]),'BOOLEAN':([1,5,8,12,17,25,26,32,37,39,43,50,51,52,53,54,55,56,57,58,59,60,61,62,63,67,78,79,84,90,91,107,116,130,131,133,140,],[36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,]),'BINSTRUCCIONES':([1,5,8,12,17,25,26,32,37,39,43,50,51,52,53,54,55,56,57,58,59,60,61,62,63,67,78,79,84,90,91,107,116,130,131,133,140,],[38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,]),'OPBINSTRUCCIONES':([28,],[76,]),'LISTADECLARA':([2,],[41,]),}
_lr_goto = { }
for _k, _v in _lr_goto_items.items():
for _x,_y in zip(_v[0],_v[1]):
if not _x in _lr_goto: _lr_goto[_x] = { }
_lr_goto[_x][_k] = _y
del _lr_goto_items
_lr_productions = [
("S' -> PROGRAM","S'",1,None,None,None),
('PROGRAM -> DECLARE Execute INSTRUCCION Done','PROGRAM',4,'p_PROGRAM','./SintBrainiac',611),
('PROGRAM -> Execute INSTRUCCION Done','PROGRAM',3,'p_PROGRAM','./SintBrainiac',612),
('SUBPROGRAM -> DECLARE Execute INSTRUCCION Done','SUBPROGRAM',4,'p_SUBPROGRAM','./SintBrainiac',621),
('DECLARE -> Declare LISTADECLARA','DECLARE',2,'p_DECLARE','./SintBrainiac',627),
('LISTADECLARA -> LISTADECLARA PuntoYComa IDENT Type TIPO','LISTADECLARA',5,'p_LISTADECLARA','./SintBrainiac',632),
('LISTADECLARA -> IDENT Type TIPO','LISTADECLARA',3,'p_LISTADECLARA','./SintBrainiac',633),
('IDENT -> IDENT Coma Ident','IDENT',3,'p_IDENT','./SintBrainiac',638),
('IDENT -> Ident','IDENT',1,'p_IDENT','./SintBrainiac',639),
('TIPO -> Integer','TIPO',1,'p_TIPO','./SintBrainiac',644),
('TIPO -> Boolean','TIPO',1,'p_TIPO','./SintBrainiac',645),
('TIPO -> Tape','TIPO',1,'p_TIPO','./SintBrainiac',646),
('INSTRUCCION -> SECUENCIACION','INSTRUCCION',1,'p_INSTRUCCION','./SintBrainiac',651),
('INSTRUCCION -> SUBPROGRAM','INSTRUCCION',1,'p_INSTRUCCION','./SintBrainiac',652),
('INSTRUCCION -> ASIGNACION','INSTRUCCION',1,'p_INSTRUCCION','./SintBrainiac',653),
('INSTRUCCION -> INSTAPE','INSTRUCCION',1,'p_INSTRUCCION','./SintBrainiac',654),
('INSTRUCCION -> CONDICIONAL','INSTRUCCION',1,'p_INSTRUCCION','./SintBrainiac',655),
('INSTRUCCION -> ITERACIONINDET','INSTRUCCION',1,'p_INSTRUCCION','./SintBrainiac',656),
('INSTRUCCION -> ITERACIONDET','INSTRUCCION',1,'p_INSTRUCCION','./SintBrainiac',657),
('INSTRUCCION -> ENTRADA','INSTRUCCION',1,'p_INSTRUCCION','./SintBrainiac',658),
('INSTRUCCION -> SALIDA','INSTRUCCION',1,'p_INSTRUCCION','./SintBrainiac',659),
('SECUENCIACION -> SECUENCIACION PuntoYComa INSTRUCCION','SECUENCIACION',3,'p_SECUENCIACION','./SintBrainiac',666),
('SECUENCIACION -> INSTRUCCION','SECUENCIACION',1,'p_SECUENCIACION','./SintBrainiac',667),
('ASIGNACION -> Ident Asignacion EXP','ASIGNACION',3,'p_ASIGNACION','./SintBrainiac',676),
('CONDICIONAL -> If EXP Then INSTRUCCION Else INSTRUCCION Done','CONDICIONAL',7,'p_CONDICIONAL','./SintBrainiac',682),
('CONDICIONAL -> If EXP Then INSTRUCCION Done','CONDICIONAL',5,'p_CONDICIONAL','./SintBrainiac',683),
('EXP -> ParAbre EXP ParCierra','EXP',3,'p_EXP','./SintBrainiac',692),
('EXP -> EXPBINBOOL','EXP',1,'p_EXP','./SintBrainiac',693),
('EXP -> EXPBINARIT','EXP',1,'p_EXP','./SintBrainiac',694),
('EXP -> EXPUNABOOL','EXP',1,'p_EXP','./SintBrainiac',695),
('EXP -> EXPUNAARIT','EXP',1,'p_EXP','./SintBrainiac',696),
('EXP -> EXPTAPE','EXP',1,'p_EXP','./SintBrainiac',697),
('EXP -> INSTAPE','EXP',1,'p_EXP','./SintBrainiac',698),
('EXP -> BOOLEAN','EXP',1,'p_EXP','./SintBrainiac',699),
('EXP -> TERMINO','EXP',1,'p_EXP','./SintBrainiac',700),
('TERMINO -> Num','TERMINO',1,'p_TERMINO','./SintBrainiac',709),
('TERMINO -> Ident','TERMINO',1,'p_TERMINO','./SintBrainiac',710),
('EXPBINBOOL -> EXP Conjuncion EXP','EXPBINBOOL',3,'p_EXPBINBOOL','./SintBrainiac',716),
('EXPBINBOOL -> EXP Disyuncion EXP','EXPBINBOOL',3,'p_EXPBINBOOL','./SintBrainiac',717),
('EXPBINBOOL -> EXP Mayor EXP','EXPBINBOOL',3,'p_EXPBINBOOL','./SintBrainiac',718),
('EXPBINBOOL -> EXP MayorIgual EXP','EXPBINBOOL',3,'p_EXPBINBOOL','./SintBrainiac',719),
('EXPBINBOOL -> EXP Menor EXP','EXPBINBOOL',3,'p_EXPBINBOOL','./SintBrainiac',720),
('EXPBINBOOL -> EXP MenorIgual EXP','EXPBINBOOL',3,'p_EXPBINBOOL','./SintBrainiac',721),
('EXPBINBOOL -> EXP Igual EXP','EXPBINBOOL',3,'p_EXPBINBOOL','./SintBrainiac',722),
('EXPBINBOOL -> EXP Desigual EXP','EXPBINBOOL',3,'p_EXPBINBOOL','./SintBrainiac',723),
('EXPBINARIT -> EXP Mas EXP','EXPBINARIT',3,'p_EXPBINARIT','./SintBrainiac',729),
('EXPBINARIT -> EXP Menos EXP','EXPBINARIT',3,'p_EXPBINARIT','./SintBrainiac',730),
('EXPBINARIT -> EXP Mult EXP','EXPBINARIT',3,'p_EXPBINARIT','./SintBrainiac',731),
('EXPBINARIT -> EXP Div EXP','EXPBINARIT',3,'p_EXPBINARIT','./SintBrainiac',732),
('EXPBINARIT -> EXP Mod EXP','EXPBINARIT',3,'p_EXPBINARIT','./SintBrainiac',733),
('EXPUNABOOL -> Negacion EXP','EXPUNABOOL',2,'p_EXPUNABOOL','./SintBrainiac',739),
('EXPUNAARIT -> Menos EXP','EXPUNAARIT',2,'p_EXPUNAARIT','./SintBrainiac',745),
('INSTAPE -> BINSTRUCCIONES At EXP','INSTAPE',3,'p_INSTAPE','./SintBrainiac',751),
('INSTAPE -> Inspeccion EXP','INSTAPE',2,'p_INSTAPE','./SintBrainiac',752),
('INSTAPE -> EXP Concat EXP','INSTAPE',3,'p_INSTAPE','./SintBrainiac',753),
('BINSTRUCCIONES -> LlaveAbre OPBINSTRUCCIONES LlaveCierra','BINSTRUCCIONES',3,'p_BINSTRUCCIONES','./SintBrainiac',762),
('OPBINSTRUCCIONES -> OPBINSTRUCCIONES OPERADORESBINST','OPBINSTRUCCIONES',2,'p_OPBINSTRUCCIONES','./SintBrainiac',768),
('OPBINSTRUCCIONES -> OPERADORESBINST','OPBINSTRUCCIONES',1,'p_OPBINSTRUCCIONES','./SintBrainiac',769),
('OPERADORESBINST -> Mas','OPERADORESBINST',1,'p_OPERADORESBINST','./SintBrainiac',776),
('OPERADORESBINST -> Menos','OPERADORESBINST',1,'p_OPERADORESBINST','./SintBrainiac',777),
('OPERADORESBINST -> Mayor','OPERADORESBINST',1,'p_OPERADORESBINST','./SintBrainiac',778),
('OPERADORESBINST -> Menor','OPERADORESBINST',1,'p_OPERADORESBINST','./SintBrainiac',779),
('OPERADORESBINST -> Punto','OPERADORESBINST',1,'p_OPERADORESBINST','./SintBrainiac',780),
('OPERADORESBINST -> Coma','OPERADORESBINST',1,'p_OPERADORESBINST','./SintBrainiac',781),
('EXPTAPE -> CorcheteAbre TERMINO CorcheteCierra','EXPTAPE',3,'p_EXPTAPE','./SintBrainiac',787),
('EXPTAPE -> CorcheteAbre EXPBINARIT CorcheteCierra','EXPTAPE',3,'p_EXPTAPE','./SintBrainiac',788),
('BOOLEAN -> True','BOOLEAN',1,'p_BOOLEAN','./SintBrainiac',794),
('BOOLEAN -> False','BOOLEAN',1,'p_BOOLEAN','./SintBrainiac',795),
('ITERACIONINDET -> While EXP Do INSTRUCCION Done','ITERACIONINDET',5,'p_ITERACIONINDET','./SintBrainiac',801),
('ITERACIONDET -> For Ident From EXP To EXP Do INSTRUCCION Done','ITERACIONDET',9,'p_ITERACIONDET','./SintBrainiac',807),
('ITERACIONDET -> For EXP To EXP Do INSTRUCCION Done','ITERACIONDET',7,'p_ITERACIONDET','./SintBrainiac',808),
('ENTRADA -> Read Ident','ENTRADA',2,'p_ENTRADA','./SintBrainiac',817),
('SALIDA -> Write EXP','SALIDA',2,'p_SALIDA','./SintBrainiac',823),
]