Extend calculator example to build an AST and re-calculate expressions from it
authorNick Downing <downing.nick@gmail.com>
Thu, 13 Sep 2018 11:15:19 +0000 (21:15 +1000)
committerNick Downing <downing.nick@gmail.com>
Thu, 13 Sep 2018 11:15:19 +0000 (21:15 +1000)
commit42c0c96a0306a2780f4a68b0c1136826da5f7191
tree49f39df94791384dc32a4a5be9e0c9b7f72260df
parentfb81063c49fbe2464f7e3644323652be2a7dfa44
Extend calculator example to build an AST and re-calculate expressions from it
element.py
skel/skel_py_element.py
tests_ast/ast.py [new file with mode: 0644]
tests_ast/ast.sh [new file with mode: 0755]
tests_ast/cal.py
tests_ast/cal_py.l
tests_ast/cal_py.y
tests_ast/element.py