NLua
NLua copied to clipboard
[Feature request] Dot syntax for calling methods
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:
myobj.mymethod();
NLua:
myobj:mymethod();
do you think it would be possible to add this, possibly behind a feature flag?
Wouldn't be possible to do a find an replace ? That would be a breaking change