07-11-2015, 12:08 AM
I'm wondering for a while now what tolua is exactly used for. It generates bindings and provides some functions, but can't those functions be replaced with cLuaState? We could possibly write our own pre processor. I'm actually writing a Lua program that is capable of detecting classes, functions (with overloads) and more from a header file. Couldn't we use that or something similar to generate the bindings? If we'd use that we could add other scripting languages as well more easily because it could generate bindings for those as well.