[Opensim-dev] Place for osFoo functions that only work with certain languages
Rob Smart
rob.s.smart at gmail.com
Thu Sep 11 09:32:23 UTC 2008
Hi Mike,
On Thu, Sep 11, 2008 at 3:38 AM, Mike Mazur <mmazur at gmail.com> wrote:
> Hi,
>
> On Wed, 10 Sep 2008 13:59:59 +0100
> "Rob Smart" <rob.s.smart at gmail.com> wrote:
>
> > I'd like to support the osParseJSON function in LSL as well as C#
> > script making it more available.
> >
> > ...
> >
> > I'd certainly be interested in more dopwerful datatypes being
> > introduced to LSL, the two in particular I'd
> > need to implement would be System.Collections.Hashtable and
> > System.Collections.ListArray.
>
> >>I don't mean to pick on you specifically, Rob, but I'm not a fan of
> >>extending LSL in any way.
>
No offence taken ;)
>
>
> >>LSL is Linden Scripting Language, and the authority on this is Linden
> >>Labs. If we start adding new features to LSL, it ceases to become LSL.
> >>It becomes LSL++ or something like that.
Agreed it does become LSL++, however i think that boundary has already been
crossed in OpenSim to a certain
extent by offering osSetDynamicTextureURL and other extension functions. The
scripts that use those are now not transferable back onto
the Linden grid as there is no possible way to replicate that functionality
there currently.
Arguably supporting more datatypes is a step further, but the accessibility
of os methods from with LSL in OpenSim leaves me thinking your argument is a
little late. To me it appears that we are supporting a one way transfer of
scripts, out of SL and into OpenSim.
I personally am happy just being able to access the additional os methods
from within the c#, javascript etc. engines and not from LSL. My thoughts
were more for enabling the same powerful extensions to those who perhaps
only know LSL.
The techncal issue here really is that for the extension methods there isn't
currently a way of saying "this extension function is only available for XX
scripting language", so we probably need to implement that.
Rob
>
> >>So, since you require these additional features, why not use one of the
> >>alternative scripting languages supported by OpenSim? JavaScript
> >>supports JSON rather well if I'm not mistaken.
>
> >>I understand that LSL is simple and this is an appealing feature to
> >>non-programmers. Perhaps an OpenSim specific script language should be
> >>developed, with these additional features, which can fill this niche?
>
> >>Mike
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20080911/c58c730f/attachment-0001.html>
More information about the Opensim-dev
mailing list