Sei Lisa 8db8872dbe Import the changes to cpreproc.py from the preprocessor branch
These changes make it ready for prime time, but main.py still does not expose the functionality.

Changes include:

- Instead of passing paths, we pass parameters, which are parsed to extract the paths (no syspaths, only regular paths) and the defines.
- Errors in the preprocessor are reported to the caller (i.e. to main).
2020-11-02 11:16:36 +01:00
2020-04-22 21:17:45 +02:00
2020-04-23 00:38:20 +02:00
2020-04-23 00:38:20 +02:00
2020-04-23 00:38:20 +02: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.blacktulip-virtual.com/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%