07-29-2013, 06:36 PM
I'm quite fed up with ToLua++, how it generates the bindings chaotically. It's getting really bad in GitHub, when every change in the bindings causes merge conflicts later. It needs to stop!
We need some Lua wiz to look at ToLua++'s sources and try to bring some order into it - sort the classes and the functions in them by name before generating the Bindings.cpp file. This way the conflicts will be minimized.
Another approach would be to not include the Bindings.* files in the git source repo, but so far we've gone along the invariant that we provide the sources ready for compiling, no further "configure" or "cmake" or whatever necessary; this would break this nice tradition. It would be a question, then, whether to include all the 3rd party libraries or not, etc. I'd prefer not to go this way.
So, any Lua wiz out there?
We need some Lua wiz to look at ToLua++'s sources and try to bring some order into it - sort the classes and the functions in them by name before generating the Bindings.cpp file. This way the conflicts will be minimized.
Another approach would be to not include the Bindings.* files in the git source repo, but so far we've gone along the invariant that we provide the sources ready for compiling, no further "configure" or "cmake" or whatever necessary; this would break this nice tradition. It would be a question, then, whether to include all the 3rd party libraries or not, etc. I'd prefer not to go this way.
So, any Lua wiz out there?