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.
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.?)
Is it possible have a documented reference to
clang.cindex
? https://github.com/llvm/llvm-project/blob/6792069a3fdb412d06dd3cc42a6181c6fb7db860/clang/bindings/python/clang/cindex.pyIt's basically some simple Python bindings (using
cdll
) to interface withlibclang
: https://github.com/llvm/llvm-project/blob/6792069a3fdb412d06dd3cc42a6181c6fb7db860/clang/bindings/python/clang/cindex.py#L4171-L4178Perhaps it'd be useful to have a brief comparison of why CastXML is better than
libclang
? (and also some places wherelibclang
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...)