[Opensim-dev] Changes needed to DotNet engine to make use of shared LSL and OSSL

James Stallings II james.stallings at gmail.com
Tue Jul 1 22:58:05 UTC 2008


+1

On Tue, Jul 1, 2008 at 5:38 PM, Melanie <melanie at t-data.com> wrote:

> Hi,
>
> Charles Krinke wrote:
> > Dear Kr:
> >
> > The key issue seems to be that the file LSL_BuiltIn_Commands.cs contained
> all our C# subroutine implementations for the 328 LSL commands. Now that
> file has been copied and morphed.
> >
> > So, my suggestion is to take the common parts of the existing file, and
> the copied and morphed file and put them into a third file. That third file
> might be LSL_Api.cs.
> >
> > In any case, it seems to me that whatever unique parts are appropriate
> for the new scriptengine implementation and unique parts for the existing
> script engine implementation then reference the namespace of the common
> file, whatever we wish to call it.
> >
> > In the common file are all the things like llSay(), llCeil(), llFloor()
> that just are wrappers around C# subroutines. In fact, 85% of the original
> LSL_BuiltIn_Commands.cs and the new, copied file are identical.
> >
> > So, I would say, lets have an interface, or a derived class, or whatever
> you feel comfortable with and just move forward.
> >
> > The most important thing to me in this whole controversy right now is to
> not have two identical copies of hundreds of little subroutines.
>
> LSL_Api.cs _is_ that new file. No subclassing is needed or useful.
> The API is in LSL_Api.cs. It contains everything that was in
> LSL_BuiltIn_Commands.cs and obsoletes that file.
> Both engines will use the new pluggable API structure. Directly,
> without subclass, because that is what it was specifically designed
> to allow.
>
> Melanie
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>



-- 
===================================
The wind
scours the earth for prayers
The night obscures them
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20080701/69a2fd7a/attachment-0001.html>


More information about the Opensim-dev mailing list