No description
Find a file
Sei Lisa 3f61e6f7bf Make IsBool smarter when finding whether an expression is boolean.
It was failing with a && b && c where a, b, c were known to be bools. It managed to simplify them to a & b & -c but that's not optimal.

Now it recurses on some operators that may return bool when used with bool operands: &, |, ^, * (in the case of &, it's bool if either operand is; for the rest, it's bool if both are). As a result, the above now simplifies to a & b & c, which is optimal.
2017-08-02 01:15:25 +02:00
lslopt Make IsBool smarter when finding whether an expression is boolean. 2017-08-02 01:15:25 +02:00
.gitignore Yet another follow-up to 2f4f403 (lslcalc support) 2016-12-15 04:15:26 +01:00
builtins-unittest.txt Get rid of builtins.txt.dat by adding a parameter to the parser ctor. 2015-07-09 20:35:14 +02:00
builtins.txt New upstream version of builtins.txt, and minor code style changes. 2017-06-15 21:11:54 +02:00
COPYING Add copyright notices to all files, to prepare the program for release. 2015-03-05 23:18:41 +01:00
main.py Note that ListLength depends on constant folding. 2017-05-07 16:08:05 +02:00
README.md URL changed. 2016-12-15 04:37:45 +01:00
seftable.txt llUnescapeURL is side effect-free. 2017-01-27 20:14:47 +01:00
testfuncs.py Add no-coverage markers to Windows-specific code. 2017-01-22 01:32:50 +01:00
testparser.py Fix expected exception in test case. 2017-02-12 04:45:44 +01:00

LSL PyOptimizer

LSL PyOptimizer is a LSL2 script optimizer written in Python 2. Currently it only supports code memory optimization (no speed optimization), only for Mono (no LSO), and only for the Second Life flavour of LSL (no OpenSim etc.).

HTML introduction, list of features and documentation available at http://lsl.project.zone/lsl-pyoptimizer/