You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm a new comer of this project. I have ideas about the improvement of README.
ast-grep is a AST-based tool to search code by pattern code.
Cool! But what's AST? What's the different from normal code? And what's the different from grep or even ripgrep? How about show some pictures here? (I only know about grep and nothing about code developement)
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.
Wait, wait, wait. I just learnt about 1+1=2, now I need to prove that P=NP. Too much for me.
There are many new concepts here: $ sign, wildcard, $MATCH, REGEX, ...
How about show some quick and simple examples here? Or move this part later.
Demo
Demo is too long. And I don't know what you are doing. (I'm a stupid guy)
CLI Screenshot
This section is really great! Why not put this in the first of README? I'm nearly going to leave this page. (Now, I'm an impatient guy)
The text was updated successfully, but these errors were encountered:
Hi, I'm a new comer of this project. I have ideas about the improvement of README.
Cool! But what's AST? What's the different from normal code? And what's the different from
grep
or evenripgrep
? How about show some pictures here? (I only know aboutgrep
and nothing about code developement)Wait, wait, wait. I just learnt about
1+1=2
, now I need to prove thatP=NP
. Too much for me.There are many new concepts here:
$ sign
,wildcard
,$MATCH
,REGEX
, ...How about show some quick and simple examples here? Or move this part later.
Demo is too long. And I don't know what you are doing. (I'm a stupid guy)
This section is really great! Why not put this in the first of README? I'm nearly going to leave this page. (Now, I'm an impatient guy)
The text was updated successfully, but these errors were encountered: