No description
Find a file
Sei Lisa bf72d2c3bf Allow //pragma inline or /*pragma inline*/ for inlining a function
They are transformed by the scanner to the identifier `inline`, which is how the parser identifies it. This solves the comment problem, but it results in a funny side effect. Now, in inline mode, /*pragma inline*/ will always be the identifier `inline`, therefore this is valid:

    integer /*pragma inline*/ = 5;
    llOwnerSay((string)inline); // will say 5

Not overly elegant, but better than making up a specific token or declaring comments as tokens or the like.
2021-10-17 20:29:22 +02:00
lslopt Allow //pragma inline or /*pragma inline*/ for inlining a function 2021-10-17 20:29:22 +02:00
pcpp@18d5bc4cdb Update to latest pcpp, remove expression evaluator 2020-11-04 13:09:34 +01:00
unit_tests Allow //pragma inline or /*pragma inline*/ for inlining a function 2021-10-17 20:29:22 +02:00
.gitignore Add the outfile.tmp file generated by a test to .gitignore 2019-01-15 23:22:02 +01:00
.gitmodules Don't report pcpp as modified if it has untracked files 2019-01-12 20:33:52 +01:00
builtins-unittest.txt Get rid of builtins.txt.dat by adding a parameter to the parser ctor. 2015-07-09 20:35:14 +02:00
builtins.txt Add llGetInventoryAcquireTime 2021-06-12 19:18:23 +02:00
COPYING Add copyright notices to all files, to prepare the program for release. 2015-03-05 23:18:41 +01:00
cpreproc.py Update copyright year 2021-01-05 23:27:21 +01:00
fndata.txt Add llGetInventoryAcquireTime 2021-06-12 19:18:23 +02:00
main.py Update copyright year 2021-01-05 23:27:21 +01:00
README.md Update link to point to lsl.blacktulip-virtual.com instead of lsl.project.zone 2018-01-18 15:41:28 +01:00
run-tests.py Update copyright year 2021-01-05 23:27:21 +01:00
strutil.py Update copyright year 2021-01-05 23:27:21 +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.blacktulip-virtual.com/lsl-pyoptimizer/