olua is a lua binding library based on lua gc memory management mechanism, it design for c/c++ lua binding code generation and providing lambda function binding support.
The export tool is based on clang, using lua scripts, it can auto export c/c++ method and lambda function. More detail and example see: