An interpreter for the Lua language, written entirely in C# for the .NET, Mono, Xamarin and Unity3D platforms, including handy remote debugger facilities.
Apologies for the resubmit. I rebased the wrong commit in my branch and destroyed the previous pull request (woops).
This pull request adds a new global option to control what (if any) fuzzy matching is done on fields/methods/properties/etc. For instance, now you can disable checking for userData:TestMethod() when Lua calls userData:testMethod().
This will slightly improve performance for users who don't use this feature. Additionally, this will allow us to easily add additional indexing functionality like #213 which I may also tackle in another pull request.
I re-implemented the previous pull request using an enum we use like a flag. The implementation would be a lot cleaner if we could use the Enum.HasFlag method, but unfortunately .net 3.5 did not have that.
In addition, I did not add new tests. When I wrote the original pull request I did not notice there were already tests for this (see Interop_TestNamesCamelized) -- which this passes.
Apologies for the resubmit. I rebased the wrong commit in my branch and destroyed the previous pull request (woops).
This pull request adds a new global option to control what (if any) fuzzy matching is done on fields/methods/properties/etc. For instance, now you can disable checking for userData:TestMethod() when Lua calls userData:testMethod().
This will slightly improve performance for users who don't use this feature. Additionally, this will allow us to easily add additional indexing functionality like #213 which I may also tackle in another pull request.
I re-implemented the previous pull request using an enum we use like a flag. The implementation would be a lot cleaner if we could use the Enum.HasFlag method, but unfortunately .net 3.5 did not have that.
In addition, I did not add new tests. When I wrote the original pull request I did not notice there were already tests for this (see Interop_TestNamesCamelized) -- which this passes.