Sei Lisa dd1b7ed594 Fix llAngleBetween when given a quaternion with all zeros.
LSL behaves as if it was ZERO_ROTATION instead, so we fix it by creating a function that returns ZERO_ROTATION when given <0,0,0,0>. Use it for llRot2{Fwd,Left,Up} as well.
2017-01-23 00:08:24 +01:00
2017-01-12 02:03:39 +01:00
2016-12-15 04:37:45 +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/

Description
Optimizes a LSL2 script, folding constants, removing unused code and more. Adds new syntax features too.
Readme 1.7 MiB
Languages
Python 73.5%
LSL 26.5%