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
2014-07-26 03:06:33 +02:00
2014-07-26 03:18:02 +02:00
Description
Optimizes a LSL2 script, folding constants, removing unused code and more. Adds new syntax features too.
1.7 MiB
Languages
Python 73.5%
LSL 26.5%