[Opensim-dev] LSL compiler switched on as default

Mike Mazur mmazur at gmail.com
Fri Jul 25 00:01:27 UTC 2008


Hi,

On Thu, 24 Jul 2008 18:35:23 +0100
"jon cundill" <jcundill at gmail.com> wrote:

> Have the sources from which lsl.parser.cs and lsl.lexer.cs are
> generated been checked into SVN and integrated into the OpenSim build
> process?

Yes, the sources have been checked into SVN.

No, they have not been integrated into the OpenSim build process.

You can find the sources in the opensim-libs repository[1].

The build process is sort of convoluted.

First, the compiler tools need to be built. That build process involves
some bootstrapping, building and rebuilding of the compiler tools
binaries. Next, those binaries are used to generated
lsl.{lexer,parser}.cs, and only these are actually needed in OpenSim.

There are three choices:
1. try to implement that entire build process in NANT
2. put all required binaries for generating lsl.{lexer,parser}.cs in
bin/, even though they're only needed at build time
3. put the compiler source in opensim-libs and only the generated files
into the source tree

Hope that helps,
Mike


[1] svn co http://opensimulator.org/svn/opensim-libs, online at
http://opensimulator.org/svn/opensim-libs/trunk/managed/lsl2cs/



More information about the Opensim-dev mailing list