-
Notifications
You must be signed in to change notification settings - Fork 1
/
parsetab.py
118 lines (111 loc) · 17.8 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# parsetab.py
# This file is automatically generated. Do not edit.
_tabversion = '3.2'
_lr_method = 'LALR'
_lr_signature = '@?I5\xec\xf5\t\x83TQzGu%\x19p'
_lr_action_items = {'DIM':([8,],[14,]),'DIVIDE':([44,45,46,48,49,53,69,76,90,91,92,118,119,120,121,122,123,124,128,136,137,138,139,140,141,143,148,155,158,160,162,163,164,172,],[-73,85,-63,-64,-62,85,85,85,85,-66,85,85,-60,-61,-59,85,85,-65,85,85,85,85,85,85,85,85,-74,85,85,85,-75,85,85,85,]),'RETURN':([8,],[13,]),'THEN':([44,46,48,49,75,77,91,119,120,121,122,123,124,136,137,138,139,140,141,148,162,],[-73,-63,-64,-62,105,112,-66,-60,-61,-59,-57,-58,-65,-68,-70,-71,-72,-67,-69,-74,-75,]),'READ':([8,],[15,]),'STOP':([8,],[16,]),'DELAY':([8,],[17,]),'STEP':([44,46,48,49,91,119,120,121,122,123,124,148,158,159,160,162,],[-73,-63,-64,-62,-66,-60,-61,-59,-57,-58,-65,-74,166,169,169,-75,]),'REM':([8,],[18,]),'PRINT':([8,],[19,]),'NEW':([0,3,5,6,7,9,10,11,12,23,67,80,],[1,-10,1,-2,-3,-7,-5,-6,-1,-8,-4,-9,]),'DATA':([8,],[22,]),'MINUS':([17,19,22,27,28,33,44,45,46,47,48,49,50,52,53,69,76,84,85,86,87,88,89,90,91,92,94,97,100,101,102,103,104,106,107,108,109,110,111,113,114,118,119,120,121,122,123,124,128,136,137,138,139,140,141,143,148,149,152,153,155,156,157,158,160,162,163,164,166,169,172,],[50,50,62,50,50,50,-73,89,-63,50,-64,-62,50,50,89,89,89,50,50,50,50,50,50,89,-66,89,50,50,62,50,50,50,50,50,50,50,50,50,50,50,50,89,-60,-61,-59,-57,-58,-65,89,89,89,89,89,89,89,89,-74,50,50,50,89,50,50,89,89,-75,89,89,50,50,89,]),'DEF':([8,],[20,]),'STRING':([19,27,94,101,102,103,104,114,],[52,52,52,52,52,52,52,52,]),'LE':([44,46,48,49,76,91,119,120,121,122,123,124,148,162,],[-73,-63,-64,-62,106,-66,-60,-61,-59,-57,-58,-65,-74,-75,]),'RPAREN':([44,46,48,49,90,91,116,118,119,120,121,122,123,124,126,127,148,154,155,162,],[-73,-63,-64,-62,124,-66,147,148,-60,-61,-59,-57,-58,-65,150,151,-74,161,162,-75,]),'FOR':([8,],[21,]),'POWER':([44,45,46,48,49,53,69,76,90,91,92,118,119,120,121,122,123,124,128,136,137,138,139,140,141,143,148,155,158,160,162,163,164,172,],[-73,86,-63,-64,-62,86,86,86,86,-66,86,86,86,-61,86,86,86,-65,86,86,86,86,86,86,86,86,-74,86,86,86,-75,86,86,86,]),'NEWLINE':([0,1,2,3,4,5,6,7,8,9,10,11,12,13,16,18,19,23,26,30,36,37,38,39,41,42,43,44,45,46,48,49,51,52,53,54,55,58,59,60,61,63,65,66,67,68,70,71,72,73,80,91,92,93,94,95,98,99,115,117,119,120,121,122,123,124,125,130,131,132,133,134,135,142,143,144,145,147,148,158,159,160,161,162,163,164,165,167,168,170,171,172,173,],[3,9,10,-10,11,3,-2,-3,23,-7,-5,-6,-1,-50,-44,-43,-28,-8,67,-42,80,-54,-51,-52,-13,-14,-77,-73,-19,-63,-64,-62,-85,-86,-88,-24,-27,-81,-79,-16,-80,-15,-41,-40,-4,-23,-49,-48,-29,-30,-9,-66,-87,-26,-25,-17,-82,-83,-53,-76,-60,-61,-59,-57,-58,-65,-84,-78,-21,-18,-22,-31,-33,-32,-11,-12,-20,-55,-74,-89,-89,-89,-56,-75,-47,-45,-46,-34,-39,-36,-35,-38,-37,]),'READDATA':([8,],[24,]),'NE':([44,46,48,49,76,91,119,120,121,122,123,124,148,162,],[-73,-63,-64,-62,109,-66,-60,-61,-59,-57,-58,-65,-74,-75,]),'NEXT':([8,],[25,]),'TO':([44,46,48,49,91,119,120,121,122,123,124,128,129,148,162,],[-73,-63,-64,-62,-66,-60,-61,-59,-57,-58,-65,152,153,-74,-75,]),'LT':([44,46,48,49,76,91,119,120,121,122,123,124,148,162,],[-73,-63,-64,-62,110,-66,-60,-61,-59,-57,-58,-65,-74,-75,]),'COMMA':([37,38,41,43,44,46,48,49,51,52,53,55,58,59,61,63,68,91,92,98,99,115,116,117,118,119,120,121,122,123,124,125,130,131,132,133,145,147,148,161,162,],[-54,81,83,-77,-73,-63,-64,-62,-85,-86,-88,94,-81,-79,-80,100,102,-66,-87,-82,-83,-53,146,-76,149,-60,-61,-59,-57,-58,-65,-84,-78,102,102,102,102,-55,-74,-56,-75,]),'INTEGER':([0,3,5,6,7,9,10,11,12,17,19,22,23,27,28,29,31,33,47,50,52,62,67,80,82,84,85,86,87,88,89,94,97,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,146,149,152,153,156,157,166,169,],[8,-10,8,-2,-3,-7,-5,-6,-1,49,49,61,-8,49,49,71,72,49,49,49,49,98,-4,-9,116,49,49,49,49,49,49,49,49,61,49,49,49,49,134,49,49,49,49,49,49,142,49,49,154,49,49,49,49,49,49,49,]),'CHECK':([8,],[27,]),'OUT':([8,],[28,]),'PLUS':([44,45,46,48,49,53,69,76,90,91,92,118,119,120,121,122,123,124,128,136,137,138,139,140,141,143,148,155,158,160,162,163,164,172,],[-73,88,-63,-64,-62,88,88,88,88,-66,88,88,-60,-61,-59,-57,-58,-65,88,88,88,88,88,88,88,88,-74,88,88,88,-75,88,88,88,]),'GOSUB':([8,],[29,]),'GT':([44,46,48,49,76,91,119,120,121,122,123,124,148,162,],[-73,-63,-64,-62,111,-66,-60,-61,-59,-57,-58,-65,-74,-75,]),'END':([8,],[30,]),'GOTO':([8,],[31,]),'READSTR':([8,],[32,]),'EQUALS':([44,46,48,49,57,64,69,74,76,78,79,91,119,120,121,122,123,124,148,150,151,162,],[-73,-63,-64,-62,97,101,103,104,108,113,114,-66,-60,-61,-59,-57,-58,-65,-74,156,157,-75,]),'TIMES':([44,45,46,48,49,53,69,76,90,91,92,118,119,120,121,122,123,124,128,136,137,138,139,140,141,143,148,155,158,160,162,163,164,172,],[-73,87,-63,-64,-62,87,87,87,87,-66,87,87,-60,-61,-59,87,87,-65,87,87,87,87,87,87,87,87,-74,87,87,87,-75,87,87,87,]),'GE':([44,46,48,49,76,91,119,120,121,122,123,124,148,162,],[-73,-63,-64,-62,107,-66,-60,-61,-59,-57,-58,-65,-74,-75,]),'LPAREN':([17,19,27,28,33,40,44,47,50,52,56,84,85,86,87,88,89,94,97,101,102,103,104,106,107,108,109,110,111,113,114,149,152,153,156,157,166,169,],[47,47,47,47,47,82,84,47,47,47,96,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,]),'ID':([14,15,17,19,20,21,24,25,27,28,32,33,34,35,47,50,52,81,83,84,85,86,87,88,89,94,96,97,101,102,103,104,106,107,108,109,110,111,113,114,149,152,153,156,157,166,169,],[40,44,44,44,56,57,44,66,44,44,44,44,44,44,44,44,44,40,44,44,44,44,44,44,44,44,127,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,]),'IF':([8,],[33,]),'RUN':([0,3,5,6,7,9,10,11,12,23,67,80,],[2,-10,2,-2,-3,-7,-5,-6,-1,-8,-4,-9,]),'SEMI':([44,46,48,49,51,52,53,55,91,92,119,120,121,122,123,124,125,148,162,],[-73,-63,-64,-62,-85,-86,-88,93,-66,-87,-60,-61,-59,-57,-58,-65,-84,-74,-75,]),'FLOAT':([17,19,22,27,28,33,47,50,52,62,84,85,86,87,88,89,94,97,100,101,102,103,104,106,107,108,109,110,111,113,114,149,152,153,156,157,166,169,],[46,46,58,46,46,46,46,46,46,99,46,46,46,46,46,46,46,46,58,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,]),'LIST':([0,3,5,6,7,9,10,11,12,23,67,80,],[4,-10,4,-2,-3,-7,-5,-6,-1,-8,-4,-9,]),'LET':([8,],[34,]),'LETSTR':([8,],[35,]),'error':([0,8,14,15,19,22,25,29,31,33,96,97,105,113,152,157,166,],[7,36,39,42,54,60,65,70,73,77,126,129,135,144,159,165,173,]),'$end':([3,5,6,7,9,10,11,12,23,67,80,],[-10,0,-2,-3,-7,-5,-6,-1,-8,-4,-9,]),}
_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 = {'dimitem':([14,81,],[37,115,]),'pitem':([19,27,94,101,102,103,104,114,],[51,51,125,51,125,51,51,51,]),'relexpr':([33,],[75,]),'optstep':([158,159,160,],[167,170,171,]),'varlist':([15,],[41,]),'expr':([17,19,27,28,33,47,50,52,84,85,86,87,88,89,94,97,101,102,103,104,106,107,108,109,110,111,113,114,149,152,153,156,157,166,169,],[45,53,53,69,76,90,91,92,118,119,120,121,122,123,53,128,53,53,53,53,136,137,138,139,140,141,143,53,155,158,160,163,164,172,172,]),'number':([22,100,],[59,130,]),'dimlist':([14,],[38,]),'program':([0,],[5,]),'command':([8,],[26,]),'statement':([0,5,],[6,12,]),'variable':([15,17,19,24,27,28,32,33,34,35,47,50,52,83,84,85,86,87,88,89,94,97,101,102,103,104,106,107,108,109,110,111,113,114,149,152,153,156,157,166,169,],[43,48,48,64,48,48,74,48,78,79,48,48,48,117,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,]),'optend':([55,],[95,]),'plist':([19,27,101,103,104,114,],[55,68,131,132,133,145,]),'empty':([158,159,160,],[168,168,168,]),'numlist':([22,],[63,]),}
_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 -> program statement','program',2,'p_program','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',20),
('program -> statement','program',1,'p_program','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',21),
('program -> error','program',1,'p_program_error','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',38),
('statement -> INTEGER command NEWLINE','statement',3,'p_statement','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',45),
('statement -> RUN NEWLINE','statement',2,'p_statement_interactive','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',57),
('statement -> LIST NEWLINE','statement',2,'p_statement_interactive','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',58),
('statement -> NEW NEWLINE','statement',2,'p_statement_interactive','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',59),
('statement -> INTEGER NEWLINE','statement',2,'p_statement_blank','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',64),
('statement -> INTEGER error NEWLINE','statement',3,'p_statement_bad','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',70),
('statement -> NEWLINE','statement',1,'p_statement_newline','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',78),
('command -> LET variable EQUALS expr','command',4,'p_command_let','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',84),
('command -> LET variable EQUALS error','command',4,'p_command_let_bad','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',88),
('command -> READ varlist','command',2,'p_command_read','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',94),
('command -> READ error','command',2,'p_command_read_bad','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',98),
('command -> DATA numlist','command',2,'p_command_data','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',104),
('command -> DATA error','command',2,'p_command_data_bad','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',108),
('command -> PRINT plist optend','command',3,'p_command_print','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',114),
('command -> OUT expr EQUALS plist','command',4,'p_command_out','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',118),
('command -> DELAY expr','command',2,'p_command_delay','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',122),
('command -> LETSTR variable EQUALS plist','command',4,'p_command_letstr','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',126),
('command -> READDATA variable EQUALS plist','command',4,'p_command_readdata','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',130),
('command -> READSTR variable EQUALS plist','command',4,'p_command_readstr','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',134),
('command -> CHECK plist','command',2,'p_command_check','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',138),
('command -> PRINT error','command',2,'p_command_print_bad','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',142),
('optend -> COMMA','optend',1,'p_optend','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',148),
('optend -> SEMI','optend',1,'p_optend','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',149),
('optend -> <empty>','optend',0,'p_optend','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',150),
('command -> PRINT','command',1,'p_command_print_empty','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',159),
('command -> GOTO INTEGER','command',2,'p_command_goto','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',165),
('command -> GOTO error','command',2,'p_command_goto_bad','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',169),
('command -> IF relexpr THEN INTEGER','command',4,'p_command_if','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',175),
('command -> IF error THEN INTEGER','command',4,'p_command_if_bad','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',179),
('command -> IF relexpr THEN error','command',4,'p_command_if_bad2','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',183),
('command -> FOR ID EQUALS expr TO expr optstep','command',7,'p_command_for','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',189),
('command -> FOR ID EQUALS error TO expr optstep','command',7,'p_command_for_bad_initial','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',193),
('command -> FOR ID EQUALS expr TO error optstep','command',7,'p_command_for_bad_final','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',197),
('command -> FOR ID EQUALS expr TO expr STEP error','command',8,'p_command_for_bad_step','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',201),
('optstep -> STEP expr','optstep',2,'p_optstep','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',207),
('optstep -> empty','optstep',1,'p_optstep','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',208),
('command -> NEXT ID','command',2,'p_command_next','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',217),
('command -> NEXT error','command',2,'p_command_next_bad','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',222),
('command -> END','command',1,'p_command_end','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',228),
('command -> REM','command',1,'p_command_rem','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',234),
('command -> STOP','command',1,'p_command_stop','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',240),
('command -> DEF ID LPAREN ID RPAREN EQUALS expr','command',7,'p_command_def','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',246),
('command -> DEF ID LPAREN ID RPAREN EQUALS error','command',7,'p_command_def_bad_rhs','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',250),
('command -> DEF ID LPAREN error RPAREN EQUALS expr','command',7,'p_command_def_bad_arg','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',254),
('command -> GOSUB INTEGER','command',2,'p_command_gosub','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',260),
('command -> GOSUB error','command',2,'p_command_gosub_bad','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',264),
('command -> RETURN','command',1,'p_command_return','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',270),
('command -> DIM dimlist','command',2,'p_command_dim','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',276),
('command -> DIM error','command',2,'p_command_dim_bad','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',280),
('dimlist -> dimlist COMMA dimitem','dimlist',3,'p_dimlist','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',286),
('dimlist -> dimitem','dimlist',1,'p_dimlist','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',287),
('dimitem -> ID LPAREN INTEGER RPAREN','dimitem',4,'p_dimitem_single','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',297),
('dimitem -> ID LPAREN INTEGER COMMA INTEGER RPAREN','dimitem',6,'p_dimitem_double','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',301),
('expr -> expr PLUS expr','expr',3,'p_expr_binary','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',307),
('expr -> expr MINUS expr','expr',3,'p_expr_binary','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',308),
('expr -> expr TIMES expr','expr',3,'p_expr_binary','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',309),
('expr -> expr DIVIDE expr','expr',3,'p_expr_binary','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',310),
('expr -> expr POWER expr','expr',3,'p_expr_binary','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',311),
('expr -> INTEGER','expr',1,'p_expr_number','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',316),
('expr -> FLOAT','expr',1,'p_expr_number','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',317),
('expr -> variable','expr',1,'p_expr_variable','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',321),
('expr -> LPAREN expr RPAREN','expr',3,'p_expr_group','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',325),
('expr -> MINUS expr','expr',2,'p_expr_unary','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',329),
('relexpr -> expr LT expr','relexpr',3,'p_relexpr','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',335),
('relexpr -> expr LE expr','relexpr',3,'p_relexpr','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',336),
('relexpr -> expr GT expr','relexpr',3,'p_relexpr','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',337),
('relexpr -> expr GE expr','relexpr',3,'p_relexpr','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',338),
('relexpr -> expr EQUALS expr','relexpr',3,'p_relexpr','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',339),
('relexpr -> expr NE expr','relexpr',3,'p_relexpr','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',340),
('variable -> ID','variable',1,'p_variable','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',346),
('variable -> ID LPAREN expr RPAREN','variable',4,'p_variable','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',347),
('variable -> ID LPAREN expr COMMA expr RPAREN','variable',6,'p_variable','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',348),
('varlist -> varlist COMMA variable','varlist',3,'p_varlist','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',359),
('varlist -> variable','varlist',1,'p_varlist','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',360),
('numlist -> numlist COMMA number','numlist',3,'p_numlist','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',371),
('numlist -> number','numlist',1,'p_numlist','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',372),
('number -> INTEGER','number',1,'p_number','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',383),
('number -> FLOAT','number',1,'p_number','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',384),
('number -> MINUS INTEGER','number',2,'p_number_signed','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',390),
('number -> MINUS FLOAT','number',2,'p_number_signed','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',391),
('plist -> plist COMMA pitem','plist',3,'p_plist','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',398),
('plist -> pitem','plist',1,'p_plist','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',399),
('pitem -> STRING','pitem',1,'p_item_string','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',407),
('pitem -> STRING expr','pitem',2,'p_item_string_expr','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',411),
('pitem -> expr','pitem',1,'p_item_expr','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',415),
('empty -> <empty>','empty',0,'p_empty','C:\\Users\\Hz\\workspace\\baterm.py\\basparse.py',421),
]