Sun Jul 19 21:19:36 CEST 2009

Clang - LLVM's C parser

If there's one tool that's supposed to do a lot of tricks out of the
box, it's clang..  C++ support is not ready yet, but C support is
there and is "production quality".

When using LLVM it's probably better to generate one of the
intermediate layers.

This looks like a nice starting point:
clang-cc -ast-print-xml <file>

This looks like a nice place to stop for now.  Next thing to figure
out is how to plug into the compiler by generating some source code,
or a C AST in XML.

[1] http://clang.llvm.org/
[2] http://clang-analyzer.llvm.org/
[3] http://clang.llvm.org/get_started.html