No description
Find a file
Sei Lisa c2560303dc Improve NaN tests to properly check for indeterminates.
One big disappointment is that Python doesn't allow redefining float.__repr__, leading to a much increased difficulty in checking and reporting differences in NaN vs. Indet. We do what we can, though. We re-enable the recursive comparison as opposed to the repr comparison.

As a result, many of the tests reported wrong results. Fixed them. Fix also a problem with comparing infinities (they can't be compared to a tolerance).

This commit also changes the struct.pack check to math.copysing as in the previous commit.
2016-05-15 20:00:04 +02:00
lslopt Use math.copysign to distinguish indeterminates 2016-05-15 19:55:45 +02:00
.gitignore Meta - add .gitignore 2014-07-26 03:06:33 +02: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 2016-01-22 20:56:20 +01:00
COPYING Add copyright notices to all files, to prepare the program for release. 2015-03-05 23:18:41 +01:00
main.py Fix bug with tab handling. 2016-05-07 03:18:50 +02:00
README.md Update URL. 2015-04-29 00:49:34 +02:00
seftable.txt llModPow has a delay so exclude it from SEF table. 2014-08-17 16:03:20 +02:00
testfuncs.py Improve NaN tests to properly check for indeterminates. 2016-05-15 20:00:04 +02:00
testparser.py Parse_unary_postfix_expression shouldn't accept the token (i.e. advance to the next) if it's not processed. This caused a mismatch between the reported syntax error and the position where it should have been detected. Fixed. 2016-01-03 01:29:57 +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.li/lsl-pyoptimizer/