[cfe-dev] Python bindings and status of clang-c API

Stefan Seefeld seefeld at sympatico.ca
Wed Jan 26 13:03:05 PST 2011


On 2011-01-26 15:32, Stuart Carnie wrote:
>
> Is this an area I could do some work in?  Having complete python 
> bindings for the entire AST would be a great way to learn clang...

I have made similar experiences. I'm right now working on using libclang 
as C/C++ parser for Synopsis (http://synopsis.fresco.org), and I hit 
similar limitations as the ones you mention.

I expect to have to make a couple of additions to the libclang API to 
support my needs (such as a more complete type system representation, 
but also some other queries that aren't possibly yet.)

FWIW,
         Stefan

-- 

       ...ich hab' noch einen Koffer in Berlin...




More information about the cfe-dev mailing list