[Opensim-dev] LSL Lexer (was Critical Plugin Check)
krtaylor
krtaylor at linux.vnet.ibm.com
Wed Jun 18 21:05:11 UTC 2008
I've been lightly investigating a non-regex parser/lexer/translator that
would take LSL and produce C#. I have been looking at some tools for c#
parser generation, starting with an existing grammar helps, but it is a
big task.
CodeDOM looks interesting. Once LSL was represented by a CodeDOM tree,
translation into C# looks like it would be easier, and it looks like
there are already tools that exist. Is there any problems with
Linux/Mono? I need to learn more about it, interesting...
Kurt R Taylor (Kurt Stringer)
Open Virtual Worlds Development
http://opensimulator.org http://opensim.ibm.com
International Business Machines, Corp.
(512) 838-2496 T/L: 678
Stefan Andersson wrote:
> If anybody wants to do a little project in computer science,
>
> creating a lexer/tokenizer from an LSL EBNF file, then something that
> creates a .NET CodeDom from those tokens
>
> would be a worthy cause.
>
> Provided, of course, mono is feature-complete on codedoms.
>
> Best regards,
> Stefan Andersson
> Tribal Media AB
>
> Join the 3d web revolution : http://tribalnet.se/
>
>
>
>
> ------------------------------------------------------------------------
>
> > Date: Wed, 18 Jun 2008 14:37:56 +0100
> > From: jjustincc at googlemail.com
> > To: opensim-dev at lists.berlios.de
> > Subject: Re: [Opensim-dev] Critical Plugin Check
> >
> > Lc wrote:
> > > to rebounce on your thread, i'm currently studying a command called
> > > osGetServerLib() that will return all the modules availible on a given
> > > server.
> > >
> > > The scripter could call it and parse the result in order to determine
> > > if the needed module is availible and take the appropriate actions.
> > >
> > > i just start working at this project and if someone is working on
> > > something like that, just email me...
> >
> > Yes, I think this kind of function will be needed in the future. You
> > might want to keep track of the work that Tedd, Melanie and others are
> > doing with the scripting engine architecture (as outlined in Tedd's
> > earlier e-mail) in relation to this. Specifically I'm thinking that in
> > the future, certain os scripting functions might only be present if
> > certain modules are present (at the moment this isn't really possible
> > with the lsl -> c# conversation approach).
> >
> > --
> > justincc
> > Justin Clark-Casey
> > http://justincc.wordpress.com
> > _______________________________________________
> > Opensim-dev mailing list
> > Opensim-dev at lists.berlios.de
> > https://lists.berlios.de/mailman/listinfo/opensim-dev
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
More information about the Opensim-dev
mailing list