ast-grep/ast-grep

⚡A CLI tool for code structrual search, lint and rewriting. Written in Rust

RustTypeScriptJavaScriptrefactoringsearchrusttree-sitterbabeltypescriptcommand-linelinterstatic-analysisastcodemodcommand-line-toolgrepcodereviewstructural-search
This is stars and forks stats for /ast-grep/ast-grep repository. As of 20 Apr, 2024 this repository has 2945 stars and 66 forks.

ast-grep(sg) ast-grep(sg) is a CLI tool for code structural search, lint, and rewriting. Introduction ast-grep is a AST-based tool to search code by pattern code. Think it as your old-friend grep but it matches AST nodes instead of text. You can write patterns as if you are writing ordinary code. It will match all code that has the same syntactical structure. You can use $ sign + upper case letters as wildcard, e.g. $MATCH, to match any single AST node. Think it as REGEX dot ., except it is not textual. Try...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
TeamFlos/phiraRustFluentGLSL3240500
loichyan/nerdfixRustJustNix335030
gorgarp/ChatGPT-Code-ReviewRust8001460
maenDisease/OutlookSCSSJavaScript90490
moodlezoup/forge-deepSolidityTypeScriptJavaScript65020
noir-lang/noir-starterSolidityTypeScriptJavaScript1370260
holyaustin/Stream-AbstractionSolidityJavaScriptPython25000
huggingface/chat-uiTypeScriptSvelteJavaScript3.7k04380
yashash-pugalia/win11-svelteSvelteCSSTypeScript1.4k0390
johman10/flood-for-transmissionSvelteJavaScriptCSS2550260