tolua is a tool that greatly simplifies the integration of C/C++ code with Lua.