Haskell: Filter C++ Classes

I’ve needed a jig to separate a C++ class’s declaration and implementation for quite some time. Compile with “ghc -O2 –make classfilt.hs” and invoke with “classfilt –impl” or “classfilt –decl”, piping in the class source with inline methods. It certainly doesn’t handle all the corners of the C++ language, but it does most of the [...]

Posted on August 18, 2009 at 9:59 pm by Jason Felice · Permalink · Comments Closed
In: Jigs · Tagged with: ,