[cfe-dev] [libclang] Is there any method like get_children (python cindex) available for libclang or alternative to print the tree structure by the traversal method?
Gregory Szorc
gregory.szorc at gmail.com
Mon Jun 18 10:42:46 PDT 2012
On 6/18/12 10:13 AM, David Röthlisberger wrote:
>> The reasons I stayed on C was because I saw few comments that python was still catching up on making available the methods provided by libclang,
> That's true in the sense that any new feature must be added to the C
> interface before it can be added to the python bindings; that is just
> the nature of foreign bindings. But I don't know how far behind the
> python bindings are currently lagging (if at all). Gregory Szorc (CCd)
> is one of the maintainers of the python bindings -- perhaps he can
> comment.
>
I have a branch of the Clang bindings that are nearly feature complete
at https://github.com/indygreg/clang/tree/python_features. However, I
/think/ that tree may be busted right now, so use at your own risk.
For the past ~6 months I've been slowly moving patches from my
repository into the mainline. It has been a long process. Now that I
have Manuel as a reliable reviewer, things could start moving faster.
I've just been busy with other projects.
If there is a particular feature missing from the in-tree Python
bindings, I probably have code for it somewhere. If anyone asks kindly,
I can probably fast-track specific features to the main tree.
Gregory
More information about the cfe-dev
mailing list