Does anybody experimented with running gcc with -fdump-tree-all and -fdump-rtl-all to make more sophisticated and fully native preprocessed data to make complex C/C++ libraries binding automation?
I tried to play with Gtk-3.0 library installed in by Debian 9 as a sample of Nim/C integration, but now I can use it only with intermediate layer C code. Such alike libraries, especially something really complex like LLVM framework with full-sized C++ API, requires a lot of options to be passed for C/C++ compiler, has a lot of preprocessor hints all over the code, and black C++ templating magic. It looks like c2nim unable to fight with this incubus.
