1

I use Luabind to manually bind my classes to Lua. Each time I write a new class, I do this binding manually. Is it possible to get a C++ compiler to output the details of a class, its functions, function signatures and overloaded functions' information as XML?

Or write a plugin for a C++ compiler to access this information? I could then use this information to generate the binding automatically.

Has anyone done something similar?

safe_malloc
  • 824
  • 2
  • 12
  • 29

1 Answers1

0

Thanks Ira. I decided to go with CLANG for parsing my C++ code and generating the bindings.

safe_malloc
  • 824
  • 2
  • 12
  • 29