LSL-PyOptimizer/lslopt
Sei Lisa 2a6e065c66 Optimize some llList2XXXX functions.
- 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.
2017-08-25 20:35:24 +02:00
..
__init__.py Initial commit. Status so far: 2014-07-26 02:43:44 +02:00
lslbasefuncs.py Bump copyright year. 2017-08-09 19:45:46 +02:00
lslcommon.py Bump copyright year. 2017-08-09 19:45:46 +02:00
lsldeadcode.py Bump copyright year. 2017-08-09 19:45:46 +02:00
lslextrafuncs.py Bump copyright year. 2017-08-09 19:45:46 +02:00
lslfoldconst.py Optimize some llList2XXXX functions. 2017-08-25 20:35:24 +02:00
lslfuncparams.py Bump copyright year. 2017-08-09 19:45:46 +02:00
lslfuncs.py Bump copyright year. 2017-08-09 19:45:46 +02:00
lsljson.py Bump copyright year. 2017-08-09 19:45:46 +02:00
lsloptimizer.py Bump copyright year. 2017-08-09 19:45:46 +02:00
lsloutput.py Format LIST nodes; don't add indent to CONST list in calc mode 2017-08-25 20:35:24 +02:00
lslparse.py Make some simplifications and keep PyFlakes happy. 2017-08-23 11:55:37 +02:00
lslrenamer.py Add TODO item to lslrenamer. 2017-08-16 22:00:16 +02:00