CastXML / pygccxml

pygccxml is a specialized XML reader that reads the output from CastXML or GCCXML. It provides a simple framework to navigate C++ declarations, using Python classes.
Boost Software License 1.0
129 stars 44 forks source link

Reference to `clang.cindex`? #123

Open EricCousineau-TRI opened 3 years ago

EricCousineau-TRI commented 3 years ago

Is it possible have a documented reference to clang.cindex? https://github.com/llvm/llvm-project/blob/6792069a3fdb412d06dd3cc42a6181c6fb7db860/clang/bindings/python/clang/cindex.py

It's basically some simple Python bindings (using cdll) to interface with libclang: https://github.com/llvm/llvm-project/blob/6792069a3fdb412d06dd3cc42a6181c6fb7db860/clang/bindings/python/clang/cindex.py#L4171-L4178

Perhaps it'd be useful to have a brief comparison of why CastXML is better than libclang? (and also some places where libclang has more info than CastXML, like templates, comments, etc.?)

Relates:

(I wanted to post this in CastXML, but I dunno if it's the right place...)