[Ohrrpgce] SVN: teeemcee/11657 physpeak: major reorganisation (merge changes from Lenny)

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Sun Mar 29 22:02:36 PDT 2020


teeemcee
2020-03-29 22:02:35 -0700 (Sun, 29 Mar 2020)
722
physpeak: major reorganisation (merge changes from Lenny)

-Update imports and cross-refs for new filenames
-Split out compiler and REPL as hsc.py and hsi.py
-'variable' and 'empty' nodes are now removed during parsing instead of in post
-$...="..." and $..+"..." are parsed directly to set/appendstringfromtable
-Code cleanup and at least one fix

What I did not merge from Lenny:

-Making flow control nodes type "function" instead of "flow"
-Handling break/continue/return/exitreturning entirely in post instead of as
 keywords
-'$ exp + exp' as alternative to 'exp $+ exp'
-Compatibility breaks with bitwise and mod operators
-Upgrade to latest PLY version 4, which drops Python 2 support and caching of
 parser tables
---
U   wip/physpeak/hs_lib/hs_ast.py
U   wip/physpeak/hs_lib/hs_file.py
U   wip/physpeak/hs_lib/hs_gen.py
U   wip/physpeak/hs_lib/hs_parse.py
U   wip/physpeak/hs_lib/hs_post.py
U   wip/physpeak/hs_lib/hs_tld.py
A   wip/physpeak/hsc.py
A   wip/physpeak/hsi.py


More information about the Ohrrpgce mailing list