Open timotheecour opened 3 years ago
It seems that "Nimterop" project is dead abandoned now too BTW... 😐
is it? interop (in particular C++ interop) is a hard problem, but a critical one that's worth solving; note that neither c2nim nor nimterop correctly handle c++ (c2nim requires a lot of manual patching for eg) and the right tool will have to be clang-based (as done in D via calypso and other projects) which removes the hardest part (C, C++ frontend) out of the equation.
there should be a way to generate C/C++ header files from nim, that stays in sync with nim compiler development; making it built into the compiler seems by far the easiest way to avoid replicating what the compiler already does
linke
other languages allow generating header files, eg D