#ast_grep_trick ast-grep's rule is heavily inspired by CSS selectors. The rule `identifier` node is `inside` the node `call_expression` is something similar to `call_expression > identifier`
ast-grep is my personal hobby project, and all user feedback, whether good or bad, is voluntary. I don't request comments from users.
If you see statements that ast-grep's community is attacking others, they are fake rumors, or more precisely, narrative trickery.
New cheat sheet for ast-grep's YAML configuration ast-grep.github.io/cheatsheet/y...
What is narrative trickery.
unsworks.unsw.edu.au/entities/pub...
AI Song
suno.com/s/bNKZhORV5c...
HCL support coming to ast-grep! Thanks TheTeaCat's contribution!🚀
github.com/ast-grep/ast...
I almost got brain aneurysm thinking that the query syntax of tree-sitter and ast-grep differ.
Fortunately that's not the case, but - contrary to Internet wisdom - query syntax is not compatible between languages (parsers).
Also, ast-grep's Playground is insanely useful:
1/2
Excited for the #RustNYC talks Nov. 13!
Herrington Darkholme will present a comprehensive guide to building custom linting tools for #RustLang projects.
Matt Powers will speak about #SedonaDB, a geospatial compute engine that's built on #DataFusion.
Register: www.meetup.com/rust-nyc/eve...
Herrington Darkholme
Thanks to @modal-labs.bsky.social for hosting, @hd-nvim.bsky.social and Matt Powers for a couple of great talks, and to everyone who joined us!
Herrington Darkholme
Herrington Darkholme
Herrington Darkholme
Herrington Darkholme
Herrington Darkholme
buherator
Rust NYC
Rust NYC
ast-grep | structural search/rewrite tool for many languages https://ast-grep.github.io/
What on earth!
You can grep-replace parts of your code-base, but instead of string matching, you write AST matching expressions? That's wild.