[cfe-dev] Writing C++ refactoring tools in Common Lisp

Richard legalize at xmission.com
Tue Jan 7 15:50:53 PST 2014


In article <CAOsfVvm6WO_iKa9iyVUKCqdmXVUk3R7KkdGNK-gae8hjaXcshA at mail.gmail.com>,
    Manuel Klimek <klimek at google.com> writes:

> [...] My remark was really just meant as that - I think writing a
> refactoring tool has suprisingly little overhead. The main problem is
> actually compilation, which is why I'd be very interested in seeing more
> interpreted integrations.

I think an interpreter that allowed you to write source-to-source
transformations in some kind of interpretive DSL would be a great boon
to exploring different refactoring options for C++!

I didn't find it that hard to make a simple C++ refactoring tool using
libtooling, but I can see that having an interpretive DSL that let you
try things interactively would be good for explorative prototyping.
You could always provide a way to spit out libtooling style code from
the interpreted expression.
-- 
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
     The Computer Graphics Museum <http://ComputerGraphicsMuseum.org>
         The Terminals Wiki <http://terminals.classiccmp.org>
  Legalize Adulthood! (my blog) <http://LegalizeAdulthood.wordpress.com>



More information about the cfe-dev mailing list