-
Notifications
You must be signed in to change notification settings - Fork 0
/
parse_table_datacmds.py
132 lines (125 loc) · 23.6 KB
/
parse_table_datacmds.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
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
# parse_table_datacmds.py
# This file is automatically generated. Do not edit.
_tabversion = '3.10'
_lr_method = 'LALR'
_lr_signature = 'COMMA LBRACE RBRACE SEMICOLON COLON COLONEQ LBRACKET RBRACKET LPAREN RPAREN WORD WORDWITHLBRACKET STRING BRACKETEDSTRING QUOTEDSTRING EQ TR ASTERISK INT_VAL FLOAT_VAL LOAD SET END STORE TABLE INCLUDE DATA NAMESPACE PARAMexpr : statements\n | statements : statements statement\n | statement\n | statements NAMESPACE WORD LBRACE statements RBRACE\n | NAMESPACE WORD LBRACE statements RBRACE statement : SET WORD COLONEQ datastar SEMICOLON\n | SET WORDWITHLBRACKET args RBRACKET COLONEQ datastar SEMICOLON\n | SET WORD COLON itemstar COLONEQ datastar SEMICOLON\n | PARAM items COLONEQ datastar SEMICOLON\n | TABLE items COLONEQ datastar SEMICOLON\n | LOAD items SEMICOLON\n | STORE items SEMICOLON\n | INCLUDE WORD SEMICOLON\n | INCLUDE QUOTEDSTRING SEMICOLON\n | DATA SEMICOLON\n | END SEMICOLON\n \n datastar : data\n |\n \n data : data WORD\n | data STRING\n | data QUOTEDSTRING\n | data BRACKETEDSTRING\n | data SET\n | data TABLE\n | data PARAM\n | data INT_VAL\n | data FLOAT_VAL\n | data LPAREN\n | data RPAREN\n | data COMMA\n | data ASTERISK\n | WORD\n | STRING\n | QUOTEDSTRING\n | BRACKETEDSTRING\n | SET\n | TABLE\n | PARAM\n | INT_VAL\n | FLOAT_VAL\n | LPAREN\n | RPAREN\n | COMMA\n | ASTERISK\n \n args : arg\n |\n \n arg : arg COMMA WORD\n | arg COMMA STRING\n | arg COMMA QUOTEDSTRING\n | arg COMMA SET\n | arg COMMA TABLE\n | arg COMMA PARAM\n | arg COMMA INT_VAL\n | arg COMMA FLOAT_VAL\n | WORD\n | STRING\n | QUOTEDSTRING\n | SET\n | TABLE\n | PARAM\n | INT_VAL\n | FLOAT_VAL\n \n itemstar : items\n |\n \n items : items WORD\n | items STRING\n | items QUOTEDSTRING\n | items COMMA\n | items COLON\n | items LBRACE\n | items RBRACE\n | items LBRACKET\n | items RBRACKET\n | items TR\n | items LPAREN\n | items RPAREN\n | items ASTERISK\n | items EQ\n | items SET\n | items TABLE\n | items PARAM\n | items INT_VAL\n | items FLOAT_VAL\n | WORD\n | STRING\n | QUOTEDSTRING\n | COMMA\n | COLON\n | LBRACKET\n | RBRACKET\n | LBRACE\n | RBRACE\n | TR\n | LPAREN\n | RPAREN\n | ASTERISK\n | EQ\n | SET\n | TABLE\n | PARAM\n | INT_VAL\n | FLOAT_VAL\n '
_lr_action_items = {'QUOTEDSTRING':([5,6,9,10,12,16,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,41,42,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,80,86,87,88,89,90,91,92,93,94,96,97,98,99,100,101,103,108,118,119,120,121,122,123,124,125,126,127,128,129,130,131,],[18,18,18,18,44,52,-87,-90,-93,-99,-85,-103,-94,-89,-100,-86,-97,-101,-95,-96,-98,-92,-102,58,-91,-88,58,58,58,94,18,-68,-73,94,-72,-80,-66,-84,-75,-70,-81,-67,-78,-82,-76,-77,-79,-71,-83,-74,-69,94,115,-37,-33,-34,-40,-41,-45,-39,-35,-42,-38,-36,129,-44,-43,58,94,-24,-20,-21,-27,-28,-32,-26,-23,-31,-29,-25,-22,-30,94,]),'LBRACKET':([5,6,9,10,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,41,42,57,58,59,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,103,],[19,19,19,19,-87,-90,-93,-99,-85,-103,-94,-89,-100,-86,-97,-101,-95,-96,-98,-92,-102,59,-91,-88,59,59,59,19,-68,-73,-72,-80,-66,-84,-75,-70,-81,-67,-78,-82,-76,-77,-79,-71,-83,-74,-69,59,]),'COLON':([5,6,9,10,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,41,42,57,58,59,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,103,],[25,25,25,25,57,-87,-90,-93,-99,-85,-103,-94,-89,-100,-86,-97,-101,-95,-96,-98,-92,-102,66,-91,-88,66,66,66,25,-68,-73,-72,-80,-66,-84,-75,-70,-81,-67,-78,-82,-76,-77,-79,-71,-83,-74,-69,66,]),'COLONEQ':([17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,41,57,58,59,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,85,102,103,],[56,-87,-90,-93,-99,-85,-103,-94,-89,-100,-86,-97,-101,-95,-96,-98,-92,-102,60,-91,-88,80,-65,-68,-73,-72,-80,-66,-84,-75,-70,-81,-67,-78,-82,-76,-77,-79,-71,-83,-74,-69,108,131,-64,]),'DATA':([0,1,4,13,15,39,78,79,81,82,83,84,105,107,117,132,133,134,135,138,139,],[2,2,-4,-3,-16,-17,-12,2,-13,-14,-15,2,2,2,-7,-11,-6,-10,-5,-8,-9,]),'STRING':([5,6,9,10,16,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,41,42,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,80,86,87,88,89,90,91,92,93,94,96,97,98,99,100,101,103,108,118,119,120,121,122,123,124,125,126,127,128,129,130,131,],[27,27,27,27,48,-87,-90,-93,-99,-85,-103,-94,-89,-100,-86,-97,-101,-95,-96,-98,-92,-102,68,-91,-88,68,68,68,89,27,-68,-73,89,-72,-80,-66,-84,-75,-70,-81,-67,-78,-82,-76,-77,-79,-71,-83,-74,-69,89,111,-37,-33,-34,-40,-41,-45,-39,-35,-42,-38,-36,120,-44,-43,68,89,-24,-20,-21,-27,-28,-32,-26,-23,-31,-29,-25,-22,-30,89,]),'SET':([0,1,4,5,6,9,10,13,15,16,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,41,42,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,86,87,88,89,90,91,92,93,94,96,97,98,99,100,101,103,105,107,108,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,138,139,],[3,3,-4,21,21,21,21,-3,-16,46,-87,-90,-93,-99,-85,-103,-94,-89,-100,-86,-97,-101,-95,-96,-98,-92,-102,62,-91,-88,62,-17,62,62,87,21,-68,-73,87,-72,-80,-66,-84,-75,-70,-81,-67,-78,-82,-76,-77,-79,-71,-83,-74,-69,-12,3,87,-13,-14,-15,3,109,-37,-33,-34,-40,-41,-45,-39,-35,-42,-38,-36,118,-44,-43,62,3,3,87,-7,-24,-20,-21,-27,-28,-32,-26,-23,-31,-29,-25,-22,-30,87,-11,-6,-10,-5,-8,-9,]),'RPAREN':([5,6,9,10,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,41,42,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,80,87,88,89,90,91,92,93,94,96,97,98,99,100,101,103,108,118,119,120,121,122,123,124,125,126,127,128,129,130,131,],[31,31,31,31,-87,-90,-93,-99,-85,-103,-94,-89,-100,-86,-97,-101,-95,-96,-98,-92,-102,72,-91,-88,72,72,72,101,31,-68,-73,101,-72,-80,-66,-84,-75,-70,-81,-67,-78,-82,-76,-77,-79,-71,-83,-74,-69,101,-37,-33,-34,-40,-41,-45,-39,-35,-42,-38,-36,130,-44,-43,72,101,-24,-20,-21,-27,-28,-32,-26,-23,-31,-29,-25,-22,-30,101,]),'SEMICOLON':([2,7,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,36,37,38,42,43,44,56,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,80,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,104,106,108,118,119,120,121,122,123,124,125,126,127,128,129,130,131,136,137,],[15,39,-87,-90,-93,-99,-85,-103,-94,-89,-100,-86,-97,-101,-95,-96,-98,-92,-102,-91,-88,78,81,82,83,-19,-68,-73,-19,-72,-80,-66,-84,-75,-70,-81,-67,-78,-82,-76,-77,-79,-71,-83,-74,-69,-19,-37,-33,-34,-40,-41,-45,-39,-35,117,-42,-38,-36,-18,-44,-43,132,134,-19,-24,-20,-21,-27,-28,-32,-26,-23,-31,-29,-25,-22,-30,-19,138,139,]),'FLOAT_VAL':([5,6,9,10,16,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,41,42,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,80,86,87,88,89,90,91,92,93,94,96,97,98,99,100,101,103,108,118,119,120,121,122,123,124,125,126,127,128,129,130,131,],[23,23,23,23,54,-87,-90,-93,-99,-85,-103,-94,-89,-100,-86,-97,-101,-95,-96,-98,-92,-102,64,-91,-88,64,64,64,91,23,-68,-73,91,-72,-80,-66,-84,-75,-70,-81,-67,-78,-82,-76,-77,-79,-71,-83,-74,-69,91,113,-37,-33,-34,-40,-41,-45,-39,-35,-42,-38,-36,122,-44,-43,64,91,-24,-20,-21,-27,-28,-32,-26,-23,-31,-29,-25,-22,-30,91,]),'TR':([5,6,9,10,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,41,42,57,58,59,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,103,],[24,24,24,24,-87,-90,-93,-99,-85,-103,-94,-89,-100,-86,-97,-101,-95,-96,-98,-92,-102,65,-91,-88,65,65,65,24,-68,-73,-72,-80,-66,-84,-75,-70,-81,-67,-78,-82,-76,-77,-79,-71,-83,-74,-69,65,]),'COMMA':([5,6,9,10,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,41,42,46,47,48,49,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,80,87,88,89,90,91,92,93,94,96,97,98,99,100,101,103,108,109,110,111,112,113,114,115,116,118,119,120,121,122,123,124,125,126,127,128,129,130,131,],[37,37,37,37,-87,-90,-93,-99,-85,-103,-94,-89,-100,-86,-97,-101,-95,-96,-98,-92,-102,77,-91,-88,77,77,77,-59,-56,-57,-62,-61,-58,86,-63,-60,100,37,-68,-73,100,-72,-80,-66,-84,-75,-70,-81,-67,-78,-82,-76,-77,-79,-71,-83,-74,-69,100,-37,-33,-34,-40,-41,-45,-39,-35,-42,-38,-36,126,-44,-43,77,100,-51,-48,-49,-54,-55,-53,-50,-52,-24,-20,-21,-27,-28,-32,-26,-23,-31,-29,-25,-22,-30,100,]),'TABLE':([0,1,4,5,6,9,10,13,15,16,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,41,42,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,86,87,88,89,90,91,92,93,94,96,97,98,99,100,101,103,105,107,108,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,138,139,],[5,5,-4,26,26,26,26,-3,-16,55,-87,-90,-93,-99,-85,-103,-94,-89,-100,-86,-97,-101,-95,-96,-98,-92,-102,67,-91,-88,67,-17,67,67,97,26,-68,-73,97,-72,-80,-66,-84,-75,-70,-81,-67,-78,-82,-76,-77,-79,-71,-83,-74,-69,-12,5,97,-13,-14,-15,5,116,-37,-33,-34,-40,-41,-45,-39,-35,-42,-38,-36,128,-44,-43,67,5,5,97,-7,-24,-20,-21,-27,-28,-32,-26,-23,-31,-29,-25,-22,-30,97,-11,-6,-10,-5,-8,-9,]),'$end':([0,1,4,11,13,15,39,78,81,82,83,117,132,133,134,135,138,139,],[-2,-1,-4,0,-3,-16,-17,-12,-13,-14,-15,-7,-11,-6,-10,-5,-8,-9,]),'LOAD':([0,1,4,13,15,39,78,79,81,82,83,84,105,107,117,132,133,134,135,138,139,],[6,6,-4,-3,-16,-17,-12,6,-13,-14,-15,6,6,6,-7,-11,-6,-10,-5,-8,-9,]),'END':([0,1,4,13,15,39,78,79,81,82,83,84,105,107,117,132,133,134,135,138,139,],[7,7,-4,-3,-16,-17,-12,7,-13,-14,-15,7,7,7,-7,-11,-6,-10,-5,-8,-9,]),'RBRACE':([4,5,6,9,10,13,15,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,41,42,57,58,59,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,81,82,83,103,105,107,117,132,133,134,135,138,139,],[-4,20,20,20,20,-3,-16,-87,-90,-93,-99,-85,-103,-94,-89,-100,-86,-97,-101,-95,-96,-98,-92,-102,61,-91,-88,61,-17,61,61,20,-68,-73,-72,-80,-66,-84,-75,-70,-81,-67,-78,-82,-76,-77,-79,-71,-83,-74,-69,-12,-13,-14,-15,61,133,135,-7,-11,-6,-10,-5,-8,-9,]),'BRACKETEDSTRING':([56,60,80,87,88,89,90,91,92,93,94,96,97,98,99,100,101,108,118,119,120,121,122,123,124,125,126,127,128,129,130,131,],[98,98,98,-37,-33,-34,-40,-41,-45,-39,-35,-42,-38,-36,125,-44,-43,98,-24,-20,-21,-27,-28,-32,-26,-23,-31,-29,-25,-22,-30,98,]),'ASTERISK':([5,6,9,10,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,41,42,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,80,87,88,89,90,91,92,93,94,96,97,98,99,100,101,103,108,118,119,120,121,122,123,124,125,126,127,128,129,130,131,],[28,28,28,28,-87,-90,-93,-99,-85,-103,-94,-89,-100,-86,-97,-101,-95,-96,-98,-92,-102,69,-91,-88,69,69,69,92,28,-68,-73,92,-72,-80,-66,-84,-75,-70,-81,-67,-78,-82,-76,-77,-79,-71,-83,-74,-69,92,-37,-33,-34,-40,-41,-45,-39,-35,-42,-38,-36,123,-44,-43,69,92,-24,-20,-21,-27,-28,-32,-26,-23,-31,-29,-25,-22,-30,92,]),'NAMESPACE':([0,1,4,13,15,39,78,79,81,82,83,84,105,107,117,132,133,134,135,138,139,],[8,14,-4,-3,-16,-17,-12,8,-13,-14,-15,8,14,14,-7,-11,-6,-10,-5,-8,-9,]),'PARAM':([0,1,4,5,6,9,10,13,15,16,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,41,42,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,86,87,88,89,90,91,92,93,94,96,97,98,99,100,101,103,105,107,108,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,138,139,],[9,9,-4,29,29,29,29,-3,-16,51,-87,-90,-93,-99,-85,-103,-94,-89,-100,-86,-97,-101,-95,-96,-98,-92,-102,70,-91,-88,70,-17,70,70,93,29,-68,-73,93,-72,-80,-66,-84,-75,-70,-81,-67,-78,-82,-76,-77,-79,-71,-83,-74,-69,-12,9,93,-13,-14,-15,9,114,-37,-33,-34,-40,-41,-45,-39,-35,-42,-38,-36,124,-44,-43,70,9,9,93,-7,-24,-20,-21,-27,-28,-32,-26,-23,-31,-29,-25,-22,-30,93,-11,-6,-10,-5,-8,-9,]),'LPAREN':([5,6,9,10,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,41,42,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,80,87,88,89,90,91,92,93,94,96,97,98,99,100,101,103,108,118,119,120,121,122,123,124,125,126,127,128,129,130,131,],[30,30,30,30,-87,-90,-93,-99,-85,-103,-94,-89,-100,-86,-97,-101,-95,-96,-98,-92,-102,71,-91,-88,71,71,71,96,30,-68,-73,96,-72,-80,-66,-84,-75,-70,-81,-67,-78,-82,-76,-77,-79,-71,-83,-74,-69,96,-37,-33,-34,-40,-41,-45,-39,-35,-42,-38,-36,127,-44,-43,71,96,-24,-20,-21,-27,-28,-32,-26,-23,-31,-29,-25,-22,-30,96,]),'WORD':([3,5,6,8,9,10,12,14,16,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,41,42,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,80,86,87,88,89,90,91,92,93,94,96,97,98,99,100,101,103,108,118,119,120,121,122,123,124,125,126,127,128,129,130,131,],[17,22,22,40,22,22,43,45,47,-87,-90,-93,-99,-85,-103,-94,-89,-100,-86,-97,-101,-95,-96,-98,-92,-102,63,-91,-88,63,63,63,88,22,-68,-73,88,-72,-80,-66,-84,-75,-70,-81,-67,-78,-82,-76,-77,-79,-71,-83,-74,-69,88,110,-37,-33,-34,-40,-41,-45,-39,-35,-42,-38,-36,119,-44,-43,63,88,-24,-20,-21,-27,-28,-32,-26,-23,-31,-29,-25,-22,-30,88,]),'INCLUDE':([0,1,4,13,15,39,78,79,81,82,83,84,105,107,117,132,133,134,135,138,139,],[12,12,-4,-3,-16,-17,-12,12,-13,-14,-15,12,12,12,-7,-11,-6,-10,-5,-8,-9,]),'EQ':([5,6,9,10,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,41,42,57,58,59,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,103,],[32,32,32,32,-87,-90,-93,-99,-85,-103,-94,-89,-100,-86,-97,-101,-95,-96,-98,-92,-102,73,-91,-88,73,73,73,32,-68,-73,-72,-80,-66,-84,-75,-70,-81,-67,-78,-82,-76,-77,-79,-71,-83,-74,-69,73,]),'STORE':([0,1,4,13,15,39,78,79,81,82,83,84,105,107,117,132,133,134,135,138,139,],[10,10,-4,-3,-16,-17,-12,10,-13,-14,-15,10,10,10,-7,-11,-6,-10,-5,-8,-9,]),'WORDWITHLBRACKET':([3,],[16,]),'LBRACE':([5,6,9,10,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,40,41,42,45,57,58,59,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,103,],[33,33,33,33,-87,-90,-93,-99,-85,-103,-94,-89,-100,-86,-97,-101,-95,-96,-98,-92,-102,74,-91,-88,74,79,74,74,84,33,-68,-73,-72,-80,-66,-84,-75,-70,-81,-67,-78,-82,-76,-77,-79,-71,-83,-74,-69,74,]),'INT_VAL':([5,6,9,10,16,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,41,42,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,80,86,87,88,89,90,91,92,93,94,96,97,98,99,100,101,103,108,118,119,120,121,122,123,124,125,126,127,128,129,130,131,],[34,34,34,34,49,-87,-90,-93,-99,-85,-103,-94,-89,-100,-86,-97,-101,-95,-96,-98,-92,-102,75,-91,-88,75,75,75,90,34,-68,-73,90,-72,-80,-66,-84,-75,-70,-81,-67,-78,-82,-76,-77,-79,-71,-83,-74,-69,90,112,-37,-33,-34,-40,-41,-45,-39,-35,-42,-38,-36,121,-44,-43,75,90,-24,-20,-21,-27,-28,-32,-26,-23,-31,-29,-25,-22,-30,90,]),'RBRACKET':([5,6,9,10,16,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,41,42,46,47,48,49,50,51,52,53,54,55,57,58,59,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,103,109,110,111,112,113,114,115,116,],[36,36,36,36,-47,-87,-90,-93,-99,-85,-103,-94,-89,-100,-86,-97,-101,-95,-96,-98,-92,-102,76,-91,-88,76,76,76,-59,-56,-57,-62,85,-61,-58,-46,-63,-60,36,-68,-73,-72,-80,-66,-84,-75,-70,-81,-67,-78,-82,-76,-77,-79,-71,-83,-74,-69,76,-51,-48,-49,-54,-55,-53,-50,-52,]),}
_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 = {'statements':([0,79,84,],[1,105,107,]),'expr':([0,],[11,]),'args':([16,],[50,]),'datastar':([56,60,80,108,131,],[95,104,106,136,137,]),'statement':([0,1,79,84,105,107,],[4,13,4,4,13,13,]),'arg':([16,],[53,]),'itemstar':([57,],[102,]),'items':([5,6,9,10,57,],[35,38,41,42,103,]),'data':([56,60,80,108,131,],[99,99,99,99,99,]),}
_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' -> expr","S'",1,None,None,None),
('expr -> statements','expr',1,'p_expr','parse_datacmds.py',166),
('expr -> <empty>','expr',0,'p_expr','parse_datacmds.py',167),
('statements -> statements statement','statements',2,'p_statements','parse_datacmds.py',181),
('statements -> statement','statements',1,'p_statements','parse_datacmds.py',182),
('statements -> statements NAMESPACE WORD LBRACE statements RBRACE','statements',6,'p_statements','parse_datacmds.py',183),
('statements -> NAMESPACE WORD LBRACE statements RBRACE','statements',5,'p_statements','parse_datacmds.py',184),
('statement -> SET WORD COLONEQ datastar SEMICOLON','statement',5,'p_statement','parse_datacmds.py',206),
('statement -> SET WORDWITHLBRACKET args RBRACKET COLONEQ datastar SEMICOLON','statement',7,'p_statement','parse_datacmds.py',207),
('statement -> SET WORD COLON itemstar COLONEQ datastar SEMICOLON','statement',7,'p_statement','parse_datacmds.py',208),
('statement -> PARAM items COLONEQ datastar SEMICOLON','statement',5,'p_statement','parse_datacmds.py',209),
('statement -> TABLE items COLONEQ datastar SEMICOLON','statement',5,'p_statement','parse_datacmds.py',210),
('statement -> LOAD items SEMICOLON','statement',3,'p_statement','parse_datacmds.py',211),
('statement -> STORE items SEMICOLON','statement',3,'p_statement','parse_datacmds.py',212),
('statement -> INCLUDE WORD SEMICOLON','statement',3,'p_statement','parse_datacmds.py',213),
('statement -> INCLUDE QUOTEDSTRING SEMICOLON','statement',3,'p_statement','parse_datacmds.py',214),
('statement -> DATA SEMICOLON','statement',2,'p_statement','parse_datacmds.py',215),
('statement -> END SEMICOLON','statement',2,'p_statement','parse_datacmds.py',216),
('datastar -> data','datastar',1,'p_datastar','parse_datacmds.py',242),
('datastar -> <empty>','datastar',0,'p_datastar','parse_datacmds.py',243),
('data -> data WORD','data',2,'p_data','parse_datacmds.py',252),
('data -> data STRING','data',2,'p_data','parse_datacmds.py',253),
('data -> data QUOTEDSTRING','data',2,'p_data','parse_datacmds.py',254),
('data -> data BRACKETEDSTRING','data',2,'p_data','parse_datacmds.py',255),
('data -> data SET','data',2,'p_data','parse_datacmds.py',256),
('data -> data TABLE','data',2,'p_data','parse_datacmds.py',257),
('data -> data PARAM','data',2,'p_data','parse_datacmds.py',258),
('data -> data INT_VAL','data',2,'p_data','parse_datacmds.py',259),
('data -> data FLOAT_VAL','data',2,'p_data','parse_datacmds.py',260),
('data -> data LPAREN','data',2,'p_data','parse_datacmds.py',261),
('data -> data RPAREN','data',2,'p_data','parse_datacmds.py',262),
('data -> data COMMA','data',2,'p_data','parse_datacmds.py',263),
('data -> data ASTERISK','data',2,'p_data','parse_datacmds.py',264),
('data -> WORD','data',1,'p_data','parse_datacmds.py',265),
('data -> STRING','data',1,'p_data','parse_datacmds.py',266),
('data -> QUOTEDSTRING','data',1,'p_data','parse_datacmds.py',267),
('data -> BRACKETEDSTRING','data',1,'p_data','parse_datacmds.py',268),
('data -> SET','data',1,'p_data','parse_datacmds.py',269),
('data -> TABLE','data',1,'p_data','parse_datacmds.py',270),
('data -> PARAM','data',1,'p_data','parse_datacmds.py',271),
('data -> INT_VAL','data',1,'p_data','parse_datacmds.py',272),
('data -> FLOAT_VAL','data',1,'p_data','parse_datacmds.py',273),
('data -> LPAREN','data',1,'p_data','parse_datacmds.py',274),
('data -> RPAREN','data',1,'p_data','parse_datacmds.py',275),
('data -> COMMA','data',1,'p_data','parse_datacmds.py',276),
('data -> ASTERISK','data',1,'p_data','parse_datacmds.py',277),
('args -> arg','args',1,'p_args','parse_datacmds.py',300),
('args -> <empty>','args',0,'p_args','parse_datacmds.py',301),
('arg -> arg COMMA WORD','arg',3,'p_arg','parse_datacmds.py',310),
('arg -> arg COMMA STRING','arg',3,'p_arg','parse_datacmds.py',311),
('arg -> arg COMMA QUOTEDSTRING','arg',3,'p_arg','parse_datacmds.py',312),
('arg -> arg COMMA SET','arg',3,'p_arg','parse_datacmds.py',313),
('arg -> arg COMMA TABLE','arg',3,'p_arg','parse_datacmds.py',314),
('arg -> arg COMMA PARAM','arg',3,'p_arg','parse_datacmds.py',315),
('arg -> arg COMMA INT_VAL','arg',3,'p_arg','parse_datacmds.py',316),
('arg -> arg COMMA FLOAT_VAL','arg',3,'p_arg','parse_datacmds.py',317),
('arg -> WORD','arg',1,'p_arg','parse_datacmds.py',318),
('arg -> STRING','arg',1,'p_arg','parse_datacmds.py',319),
('arg -> QUOTEDSTRING','arg',1,'p_arg','parse_datacmds.py',320),
('arg -> SET','arg',1,'p_arg','parse_datacmds.py',321),
('arg -> TABLE','arg',1,'p_arg','parse_datacmds.py',322),
('arg -> PARAM','arg',1,'p_arg','parse_datacmds.py',323),
('arg -> INT_VAL','arg',1,'p_arg','parse_datacmds.py',324),
('arg -> FLOAT_VAL','arg',1,'p_arg','parse_datacmds.py',325),
('itemstar -> items','itemstar',1,'p_itemstar','parse_datacmds.py',348),
('itemstar -> <empty>','itemstar',0,'p_itemstar','parse_datacmds.py',349),
('items -> items WORD','items',2,'p_items','parse_datacmds.py',358),
('items -> items STRING','items',2,'p_items','parse_datacmds.py',359),
('items -> items QUOTEDSTRING','items',2,'p_items','parse_datacmds.py',360),
('items -> items COMMA','items',2,'p_items','parse_datacmds.py',361),
('items -> items COLON','items',2,'p_items','parse_datacmds.py',362),
('items -> items LBRACE','items',2,'p_items','parse_datacmds.py',363),
('items -> items RBRACE','items',2,'p_items','parse_datacmds.py',364),
('items -> items LBRACKET','items',2,'p_items','parse_datacmds.py',365),
('items -> items RBRACKET','items',2,'p_items','parse_datacmds.py',366),
('items -> items TR','items',2,'p_items','parse_datacmds.py',367),
('items -> items LPAREN','items',2,'p_items','parse_datacmds.py',368),
('items -> items RPAREN','items',2,'p_items','parse_datacmds.py',369),
('items -> items ASTERISK','items',2,'p_items','parse_datacmds.py',370),
('items -> items EQ','items',2,'p_items','parse_datacmds.py',371),
('items -> items SET','items',2,'p_items','parse_datacmds.py',372),
('items -> items TABLE','items',2,'p_items','parse_datacmds.py',373),
('items -> items PARAM','items',2,'p_items','parse_datacmds.py',374),
('items -> items INT_VAL','items',2,'p_items','parse_datacmds.py',375),
('items -> items FLOAT_VAL','items',2,'p_items','parse_datacmds.py',376),
('items -> WORD','items',1,'p_items','parse_datacmds.py',377),
('items -> STRING','items',1,'p_items','parse_datacmds.py',378),
('items -> QUOTEDSTRING','items',1,'p_items','parse_datacmds.py',379),
('items -> COMMA','items',1,'p_items','parse_datacmds.py',380),
('items -> COLON','items',1,'p_items','parse_datacmds.py',381),
('items -> LBRACKET','items',1,'p_items','parse_datacmds.py',382),
('items -> RBRACKET','items',1,'p_items','parse_datacmds.py',383),
('items -> LBRACE','items',1,'p_items','parse_datacmds.py',384),
('items -> RBRACE','items',1,'p_items','parse_datacmds.py',385),
('items -> TR','items',1,'p_items','parse_datacmds.py',386),
('items -> LPAREN','items',1,'p_items','parse_datacmds.py',387),
('items -> RPAREN','items',1,'p_items','parse_datacmds.py',388),
('items -> ASTERISK','items',1,'p_items','parse_datacmds.py',389),
('items -> EQ','items',1,'p_items','parse_datacmds.py',390),
('items -> SET','items',1,'p_items','parse_datacmds.py',391),
('items -> TABLE','items',1,'p_items','parse_datacmds.py',392),
('items -> PARAM','items',1,'p_items','parse_datacmds.py',393),
('items -> INT_VAL','items',1,'p_items','parse_datacmds.py',394),
('items -> FLOAT_VAL','items',1,'p_items','parse_datacmds.py',395),
]