summaryrefslogtreecommitdiff
path: root/aerialvision/parsetab.py
diff options
context:
space:
mode:
authorchristindbose <[email protected]>2023-05-10 14:15:37 -0400
committerchristindbose <[email protected]>2023-05-10 14:15:37 -0400
commit46e0ec221496469920fbabb91efd447f74da702f (patch)
treedd01ea8b20975532f565eea79d50e4ae502c66f7 /aerialvision/parsetab.py
parent13c67115070dc2f0876254a790d0238073ca364a (diff)
Ported aerialvision to use python3 instead of python2
Diffstat (limited to 'aerialvision/parsetab.py')
-rw-r--r--aerialvision/parsetab.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/aerialvision/parsetab.py b/aerialvision/parsetab.py
new file mode 100644
index 0000000..47a3884
--- /dev/null
+++ b/aerialvision/parsetab.py
@@ -0,0 +1,31 @@
+
+# parsetab.py
+# This file is automatically generated. Do not edit.
+# pylint: disable=W,C,R
+_tabversion = '3.10'
+
+_lr_method = 'LALR'
+
+_lr_signature = 'NUMBERSEQUENCE WORDsentence : WORD NUMBERSEQUENCE'
+
+_lr_action_items = {'WORD':([0,],[2,]),'$end':([1,3,],[0,-1,]),'NUMBERSEQUENCE':([2,],[3,]),}
+
+_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 = {'sentence':([0,],[1,]),}
+
+_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' -> sentence","S'",1,None,None,None),
+ ('sentence -> WORD NUMBERSEQUENCE','sentence',2,'p_sentence','lexyacc.py',220),
+]