diff options
| author | JRPan <[email protected]> | 2023-06-08 22:41:25 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-08 22:41:25 +0800 |
| commit | 812e809f8f3e1e0a4e1a1b13b427be4cffd35a13 (patch) | |
| tree | 0e2b8ab5ef65a08cb8b9711b0ae51b0063232053 /aerialvision/parsetab.py | |
| parent | 8d2671ae6545a7bb01d94be7f2204673f42402f8 (diff) | |
| parent | aa99b50e477d6100543c93ee904eabd696be7c93 (diff) | |
Merge pull request #48 from christindbose/aerielvision_stuff
Ported aerialvision to use python3 instead of python2
Diffstat (limited to 'aerialvision/parsetab.py')
| -rw-r--r-- | aerialvision/parsetab.py | 31 |
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), +] |
