mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-02 08:08:20 +00:00
- Resolve for lists that aren't constants, but that are SEF, and reference a constant element, e.g. llList2String([llGetKey(), 5], 1) -> 5. - Make it work with invalid conversions, if they are SEF. - Simplify invalid conversions when the list argument is a llGetObjectDetails call and SEF. - Simplify llList2String(llGetObjectDetails(id, [single_element]), 0) (or -1) to (string)llGetObjectDetails...; same with llList2Key and llList2Integer, converting it to (integer)((string)llGetObjectDetails...). - Add TODO item to do it similarly for llGet[Link]PrimitiveParams. Adds auxiliary functions to return a node or constant from a list in any of its forms, its length, and a constant for a node or constant. Adds some utility members for LSL<->Python type conversion (one of them duplicated from lslparse.py). Needs maintenance of the types returned by llGetObjectDetails. |
||
---|---|---|
.. | ||
__init__.py | ||
lslbasefuncs.py | ||
lslcommon.py | ||
lsldeadcode.py | ||
lslextrafuncs.py | ||
lslfoldconst.py | ||
lslfuncparams.py | ||
lslfuncs.py | ||
lsljson.py | ||
lsloptimizer.py | ||
lsloutput.py | ||
lslparse.py | ||
lslrenamer.py |