| ▲ | spookylukey 4 hours ago | |
The project pyastgrep https://pyastgrep.readthedocs.io/en/latest/ can use CSS selectors as a query language for Python syntax (default is XPath). e.g.: pyastgrep --css 'Call > func > Name#main' | ||
| ▲ | evnc 4 hours ago | parent [-] | |
oh this is neat! Feels like exactly the sort of thing I was gesturing towards. Thanks :) | ||