[cfe-dev] AST XML dump
Olaf Krzikalla
Olaf.Krzikalla at tu-dresden.de
Wed May 13 03:43:10 PDT 2009
Hi @clang-community,
I've recently started a C(++)-source-to-source translation project. The
project is open-source and thus all the components involved needs to be
open-source too.
The goal of the project is to semi-automatically rewrite and optimize
parts of C(++) sources (C++ instead of C is a 'very-nice-to-have feature').
Currently I'm still in the evaluation phase. Obvisiously the first thing
I need is a parser. Beside gcc I found clang, sparse and the Ravi C
parser as open source projects. Are there any others out there?
From among these three projects clang seems to be the most promising
project for my needs as it is already able to deal with some C++ (and
according to cfe-commits the community is very active in this area).
However one thing I badly need is a better AST dump. I'm now going to
implement my own XML dump in clang since the current AST dump is hard to
parse. Any objections? (of course I can do what I want to do anyway, but
in the end I naturally want to contribute my additions to the clang
project - so I better ask).
Best regards
Olaf Krzikalla
More information about the cfe-dev
mailing list