“Dub” is a Lua library used to create bindings to Lua from Doxygen generated documentation of C++ headers.

The idea is to use the very good C/C++ Doxygen parser and read the xml generated documentation to automatically build the bindings.


The library supports many advanced features such as public member access, type casting to super class, inherited members, memory protection for pointers, etc.

What is missing, is good documentation, so please help us write these docs:

Click here to lend your support to: Doxygen based Lua binder (Dub) and make a donation at www.pledgie.com !

For a list of features, please look at the README...


You can get some help on lubyk’s questions & answers forum.


The sources are on github github.com/lubyk/dub

latest blog entries