[Opensim-users] Script Engine Messages
Melanie
melanie at t-data.com
Mon Jun 25 16:01:38 UTC 2012
Actually, OpenSim never had a distinction between mono and non-mono.
The non-mono engine in SL was called LSO engine, which was a
proprietary bytecode ony SL used. Viewers have the checkbox because
SL needs it, you are right in that it us ignored by OpenSim.
All scripting in OpenSim will run on .net in windows and on mono
everywhere else. So, in fact, OpenSim has "mono scripting" on every
platform where mono is used.
The script engine that you mentioned was called DotNetEngine and
worked ok as far as it went. It was, however, unable to handle a lot
of constructs and I wrote XEngine to replace it some years back.
DotNetEngine (DNE) was deprecated and removed from core a while
later, when it was determined that it appeared to not have any users
anymore.
DNE and XEngine use similar mechanisms to execute scripts, but are
vastly different i the way they organize them. While DNE used a
rather complex set of regular expressions to address LSL syntax
atrocities and produce compilable C#, XEngine parses LSL into an
abstract syntax tree (AST) using a BNF notation of LSL, then emits
that tree as clean c# for compilation. I did not write that part,
though.
Currently, a number of different implementations of script engines
exist outside of core and the script engine selection mechanism
allows them to coexist. It may sometimes be easier to write a
separate script engine to implement another language than to try and
have that language compile to .net assemblies.
The message you're seeing is harmless and not really an issue in
terms of performance as it's only emitted when a script is first
run. You can ignore it or avoid it via the methods already discussed.
Melanie
On 25/06/2012 15:39, James Stallings II wrote:
> There are actually many supported scripting languages, but some that were
> once supported no longer are (Iron Python? Javascript?) in any event, mono
> was never supported and removed, and unless something has changed
> dramatically recently, I don't think mono is supported in opensim now; I
> believe the mono checkbox in the viewer is completely ignored by the
> scripting engine.
>
> Cheers
> James
> aka Hiro Protagonist
>
>
> On Mon, Jun 25, 2012 at 7:16 AM, Tim Gildersleeve <
> t.gildersleeve at bradfordcollege.ac.uk> wrote:
>
>> I may be wrong, but I believe that this is because there used to be a
>> dedicated mono scripting engine in opensim which was removed a while
>> back. The Xengine can now handle mono script as well as lsl so it was
>> no longer needed and having two that did the same thing was "clunky".
>> As I say, this is as I remember it but may be wrong.
>>
>> -----Original Message-----
>> From: opensim-users-bounces at lists.berlios.de
>> [mailto:opensim-users-bounces at lists.berlios.de] On Behalf Of Ai Austin
>> Sent: 25 June 2012 11:21
>> To: opensim-users at lists.berlios.de
>> Subject: [Opensim-users] Script Engine Messages
>>
>> I seem to get a lot of messages like this "Selected engine unavailable
>> running on Xengine".
>>
>> I only have Xengine configured on all our regions - I have just left the
>> defaults in place in other words.
>>
>> I had assumed it could relate to some scripts already being compiled
>> before with an older script engine. But I see this on newly created
>> scripts that are all by default ticked for "Mono" too.
>>
>> ;; Default script engine to use. Currently, we only have XEngine
>> ; DefaultScriptEngine = "XEngine"
>>
>> [XEngine]
>> ; Enabled = true
>>
>> Is this message one that should not be coming up? Coud it be a
>> configuration problem in some area?
>>
>> _______________________________________________
>> Opensim-users mailing list
>> Opensim-users at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-users
>>
>>
>>
>> Email from Bradford College is subject to a disclaimer, the full
>> contents of which are available for viewing at the following link:
>> http://www.bradfordcollege.ac.uk/emaildisclaimer.htm
>> _______________________________________________
>> Opensim-users mailing list
>> Opensim-users at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-users
>>
>
>
>
>
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
More information about the Opensim-users
mailing list