[Opensim-dev] Please test drive the new LSL compiler

Mike Mazur mmazur at gmail.com
Tue Jul 8 03:08:08 UTC 2008


Hello,

On Fri, 4 Jul 2008 18:31:19 +0900
Mike Mazur <mmazur at gmail.com> wrote:

> I should also mention that the compiler is currently only enabled for
> DotNetEngine. I'll look into putting it into the appropriate Shared/
> directories next week.

The compiler is now in OpenSim/Region/ScriptEngine/Shared/CodeTools.
This means it can be used with XEngine. To enable, apply the attached
patch.

Please test the compiler! It now supports jumps and will implicitly
initialize variables:

default
{
    state_entry()
    {
        integer x; // becomes LSL_Types.LSLInteger x = 0;
        llSay(0, "x is: " + (string) x); // says "x is: 0"
    }
}

Thanks,
Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opensim-enable_compiler_in_XEngine.patch
Type: text/x-patch
Size: 1484 bytes
Desc: not available
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20080708/68d6e492/attachment-0001.bin>


More information about the Opensim-dev mailing list