LSL-PyOptimizer/lslopt
Sei Lisa e5714eba25 Fix the obnoxious issue with globals propagation in full expressions.
Fixed by backtracking in the parser, and keeping a copy of the original expression if it's a simple_expr, which is used for output in place of the folded one.

There's still the potential issue that if a global is optimized away, then it will "come back" during output and cause an error because the definition is missing.
2014-07-31 04:47:19 +02:00
..
__init__.py Initial commit. Status so far: 2014-07-26 02:43:44 +02:00
lslbasefuncs.py Add constant NULL_KEY and function cond(). 2014-07-26 23:50:49 +02:00
lslcommon.py Fix class definitions to make sense (le-sigh - python quirk) 2014-07-27 17:40:26 +02:00
lslfuncs.py Initial commit. Status so far: 2014-07-26 02:43:44 +02:00
lsljson.py Thorough review of lslbasefuncs and associated files, adding new stuff. 2014-07-26 20:54:01 +02:00
lsloptimizer.py Fix the obnoxious issue with globals propagation in full expressions. 2014-07-31 04:47:19 +02:00
lsloutput.py Fix the obnoxious issue with globals propagation in full expressions. 2014-07-31 04:47:19 +02:00
lslparse.py Fix the obnoxious issue with globals propagation in full expressions. 2014-07-31 04:47:19 +02:00