LSL-PyOptimizer
LSL-PyOptimizer copied to clipboard
Optimizes a LSL2 script, folding constants, removing unused code and more. Adds new syntax features too.
Would it be possible to provide basic python packaging (setup.py/pyproject.toml, PEP-518) to simplify LSL-PyOptimizer installation? Were this done, the project could be installed via pip and the CLI automatically placed...
I was wondering if you had any plans for say pre-made binaries that the user could just download and run? I locally setup a setup a working singlefile py2exe setup.py...
Example code: ``` default { link_message(integer sender, integer num, string str, key keyVal) { integer dead = 0; if (num == 5) dead = 1; else dead = 2; llOwnerSay("Not...
An update is needed to support PBR values such as for set prim params: PRIM_RENDER_MATERIAL https://wiki.secondlife.com/wiki/PRIM_RENDER_MATERIAL PRIM_GLTF_BASE_COLOR https://wiki.secondlife.com/wiki/PRIM_GLTF_BASE_COLOR PRIM_GLTF_NORMAL https://wiki.secondlife.com/wiki/PRIM_GLTF_NORMAL PRIM_GLTF_METALLIC_ROUGHNESS https://wiki.secondlife.com/wiki/PRIM_GLTF_METALLIC_ROUGHNESS PRIM_GLTF_EMISSIVE https://wiki.secondlife.com/wiki/PRIM_GLTF_EMISSIVE As well as: New function llGetInventoryDesc...
At the beginning of an inlined function, all parameters get assigned to new local variables even if they are never written to and therefore could be used without creating a...
In the following code: ```lsl default { touch_start(integer total_number) { float val = 1.0; vector vec1 = ; vector vec2 = ; llOwnerSay((string)vec1); llOwnerSay((string)vec2); } touch_end(integer total_number) { float val...