-
Hello! we have used MoonSharp extensively in our game and the poor performance are starting to catch up onto us. Calls like `Script.DoString` result in a long chain of statement objects that unfold re…
-
(~~going to flesh this out more later~~ the can has been kicked down the road now that Lua works under Mono)
(see existing discussion in https://github.com/TASVideos/BizHawk/issues/971#issuecomment…
-
I have this simple LUA script calling the GUIManager's GUI.OpenMessageWindowWithAction method. I am passing a playKnockSound function to it, so the C# implementation of OpenMessageWindowWithAction cal…
-
MoonSharp is a great library, but maintaining the wrappers is painful.
NeoLua would be a good alternative, since it runs on the DLR and can be implemented with no effort.
-
I haven't done any experiments, but at first glance there seem to be some benefits from using @xanathar's http://www.moonsharp.org/ vs. our https://github.com/OpenRA/Eluant fork:
- Hopefully proper s…
-
## detail | 详细描述
How can I specify a global object from C# so that it is available in JavaScript?
MoonSharp example
_scriptEngine.Globals["Engine"] = this;
-
Here's my code:
UserData.RegisterType();
UserData.RegisterType();
UserData.RegisterType();
Lines 1 and 2 work fine. Line 3 gives this error:
Unhandled Exception: System.ArgumentException: …
-
Pressing CTRL-Z on the interpreter causes the following:
`Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at MoonSharp.Program.Interpre…
-
I'm looking to switch from Moonsharp to NLua due to perf reasons. One thing that is blocking for me is that NLua currently does not support calling non-static methods with dot:
valid in Moonsharp:
…
lofcz updated
3 years ago
-
I was writing a wrapper around NUnit's assert functions, I encountered a strange issue. When running the following code:
```
using System;
using MoonSharp.Interpreter;
using NUnit.Framework;
…