new wiki (in progress) about SLB: http://slb.pplux.com

SLB logo

SLB comes from Simple Lua Binder, well it was simpler at the very beginning and now it still is very simple to use for the user (but not so simple for me to code). As many others, SLB is yet another way to map C++ objects to lua, but with subtle differences between other projects.

First, SLB is oriented to the programmer, and it doesn’t generate code by its own (like some auto-wrapper-generators), you still need to declare each class, and you have complete control of how classes are mapped to lua. It is very similar to boost-pyhon or luabind, but, guess what? it doesn’t use boost, it is as simple as get SLB and put into your own project. It doesn’t have any dependency, even lua is integrated (optionally) inside SLB.

Other things SLB has is Hybrid classes, these classes are declared as C++ classes but some methods are implemented in lua, even more Hybrid classes can be extended inside lua in a some kind of inheritance from C++. To do so, and many many more. there is lots of documentation pending to be done (sorry!).

Even though, if you want to give a try, SLB is open source, feel free to try it, and have a look at the tests that show some parts of SLB working. SLB’s subversion can be found here: http://svn.pplux.com/SLB/

I use cmake to compile, if you want to run the tests you can optionally turn on valgrind to check memory leaks. For any doubt, or comment, feel free to contact me at pplux _NO_spam_! pplux _DOT_ com, or joseluis.hidalgo _AT_ gmail _DOT_ com.

Under Construction: Documentation in progress…