The same thing is being done with the plug-in - it is being written as a separate plug-in using 's Script plug-in as an example. There are lots of differences between and Lua - in particular everything is checked at compile-time rather than run-time.
If there is any cross compatible code I’ll try to integrate it into the example Script plug-in so that it can be shared.