Navigate ASTs with x-path-like queries
github.com
github.com
I hope in addition to the cute operators they also support actual XPath, since it'd be less reinventing the wheel for those who already know XPath
Also, prior art for static analysis using XPath: https://pmd.github.io/pmd-6.47.0/
I've found myself manually writing code for finding things in python's AST but a tool like this would be much more succinct
Edit: the author's website is a delight - http://engelschall.com/
https://pylint.pycqa.org/projects/astroid/en/latest/index.ht...
Wow, I also am writing a tool for finding things in the Python AST: https://github.com/Incognito/python-architecture-linter
It does other things too, but one of the key features is reading the AST. It's a bit of a prototype but if you want to jam together on a project I'd be open to it.
Yours is much more ambitious, if I understand it correctly?