Anyone interested in a Clang plug-in for statically generating Lua bindings code?
Here’s a drop: http://www.jtlanguage.com/xfer/LuaBindingsDrop.zip
It still requires additonal testing, but it works for some basic cases of binding classes and functions.
Because of the current problem using plug-ins on Windows, I’ve included a Clang executable that has a hack to make the plug-in registry mechanism work.
I’ve also included a program to integrate the Lua interpreter with some example bindings.
Also, is there any interest in checking it into the tree as a more sophisticated plug-in example? (Just the plug-in. Unfortunately, I think because of the licensing on the Lua code, the sample interpreter would have to be checked in somewhere outside the main LLVM tree.
-John