News for hackers. Stuff that matters.
Re:SWIG author on the complexity of SWIG by stevek on Tuesday August 30, 2011 @05:09AM (#2940657)
We've done this. A modified clang-interpreter spits out some json. Python scripts consume the it and generate reflection data, script bindings etc.

We're very happy with the results. It's a little bit slower than hand parsing the headers, but the robustness more than compensates for it. We set up a unity build (just for the headers) to make up the speed difference.

There are no comments on this comment yet.