Linked by Thom Holwerda on Fri 7th Sep 2007 13:34 UTC, submitted by anonymous
Permalink for comment 269570
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.




Member since:
2006-02-25
Don't forget, that there is this miracle tool for C++ programmers called tolua++ :
http://www.codenix.com/~tolua/
It parses your C++ headers and generates automatic bindings to lua, so basically you can use your C++ classes directly from lua, and effortlessly optimize application development times, as well as unit testing. Supports templates, namespaces, enums, unions, stl templates, std::string, operator overloading and is easily extensible to recognize special datatypes which must be treated specially. (like refptrs, etc).
Best of all, you can use it at compile time in your makefiles and simply add your headers as a dependence to tolua++, and the bindings get regenerated when you change them.