Sei Lisa 9c4d81db08 Implement side-effect-free (SEF) analysis. Also optimize x++ to ++x.
As an additional bonus, the condition folding function is now the one that converts a condition to -1, relieving that burden from the rest of the code and simplifying tests.
2014-08-06 04:30:26 +02:00
2014-07-26 03:06:33 +02:00
2014-07-26 03:18:02 +02:00
2014-08-01 05:07:50 +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%