Ancestors

Toot

Written by joshhunt on 2023-10-06 at 14:26

Here's a neat tool - ast-grep. Find & replace on your code using it's actual structure rather than plain text matching.

Here's a little demo video I made for coworkers, but figured others here might find it interesting :)

https://ast-grep.github.io #programming #webdev

=> View attached media

=> More informations about this toot | More toots from joshhunt@hachyderm.io

Descendants

Written by joshhunt on 2023-10-06 at 15:08

Still works even for slightly more complex expressions. It's correctly passing through the bang-bang for the arguments.

=> View attached media

=> More informations about this toot | More toots from joshhunt@hachyderm.io

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/111188534164746031
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
316.779476 milliseconds
Gemini-to-HTML Time
0.611469 milliseconds

This content has been proxied by September (ba2dc).