An interpreter for the Lua language, written entirely in C# for the .NET, Mono, Xamarin and Unity3D platforms, including handy remote debugger facilities.
Script.DoFile
, Script.DoString
and Script.DoStream
methodsScript.DoFileAsync
, Script.DoStringAsync
and Script.DoStreamAsync
methods (.NET 4.x and PCL targets only)Warning : this version has some minor but breaking changes for custom debuggers. If you have implemented a custom debugger, be prepared to add a couple of new methods to your object (empty methods are enough).
ColonOperatorClrCallbackBehaviour
Script option (see also #149).require
didn't always skip loading already loaded modulesRethrowExceptionNested
option to Script.GlobalOptions
which instead of doing a plain re-throw of exceptions, embeds them in the InnerException property of a new exception object. Useful to simplify handling (newer exceptions are automatically decorated) and to preserve stack traces on Mono/Unity (annoying Mono bug..)contains
, startsWith
and endsWith
methods to string
module.Set
/Get
methods to be more symmetrical, with added RawGet
, Remove
and Append
methods (thanks Francois Retief)__newindex
metamethod can completely break the MoonSharp VM (bad bad bug)${ ... }
which can be used to declare a "prime" table.IRegistrationPolicy
interface to customize the type registration processPlus.. hey it's 1.0!
Mostly a bugfix release:
...
) functions (See issue #92)