LSL-PyOptimizer/lslopt
Sei Lisa 4251d4c7f9 Improve CompareTrees.
Reorganize into different statements with early return.

Add constants, unary operators and binary operators. Check if operator is commutative and check with operands swapped when so.

Constant equality is somewhat sketchy at the moment: just compare the values with Python's ==.
2017-11-03 00:12:10 +01:00
..
__init__.py Initial commit. Status so far: 2014-07-26 02:43:44 +02:00
lslbasefuncs.py Fix compare and llListSort for LSO. 2017-10-21 12:32:41 +02:00
lslcommon.py Get rid of StSw craziness and use lsllastpass to make another pass. 2017-11-02 18:20:14 +01:00
lsldeadcode.py Remove "magic names" where possible, using new data from fndata.txt 2017-10-27 23:39:26 +02:00
lslextrafuncs.py Remove "magic names" where possible, using new data from fndata.txt 2017-10-27 23:39:26 +02:00
lslfoldconst.py Improve CompareTrees. 2017-11-03 00:12:10 +01:00
lslfuncopt.py Comment fix. 2017-10-20 10:18:44 +02:00
lslfuncs.py Bump copyright year. 2017-08-09 19:45:46 +02:00
lsljson.py Change strategy for the checking of function input types. 2017-10-12 17:16:16 +02:00
lsllastpass.py Collect used library functions as reusable names for the renamer. 2017-11-02 23:19:33 +01:00
lslloadlib.py Implement flags aimed at removing "magic names" in the code. 2017-10-27 18:49:58 +02:00
lsloptimizer.py Collect used library functions as reusable names for the renamer. 2017-11-02 23:19:33 +01:00
lsloutput.py Add a space between a minus sign and a negative constant. 2017-10-27 21:02:00 +02:00
lslparse.py Fix EParseCantChangeState so that it is always properly reported. 2017-11-02 13:45:01 +01:00
lslrenamer.py Collect used library functions as reusable names for the renamer. 2017-11-02 23:19:33 +01:00