Searching a single codebase is reasonable simple if you know your regexes. My problem is to search all my company code. What do you use to search hundreds of git repositories?
I'd be happy with just being able to do regex searches over multiple (2 or 3) lines without jumping through hoops. The mentioned Structural Search for JetBrains' IDE sounds promising--I'll have to try that out.
I'd summarize it as "create a standard embedding language for queries".
The thing is, people seem to be under this weird assumption that you write embedding languages directly, and thus that embedding languages are hard to use.
The thing about embedding languages is that you aren't meant to see the embedded form!!! HTML is an embedding language, and I'm editing it right now (to write this post) without ever seeing a single HTML tag. I can see HTML of course if I want to by opening devtools, but the real power of an embedding language is that it can serve as a backend to a GUI because there's no state that you could create in the GUI that can't be represented in the embedding language
neves|1 year ago
karmakaze|1 year ago
yijie4188|1 year ago
conartist6|1 year ago
conartist6|1 year ago
The thing is, people seem to be under this weird assumption that you write embedding languages directly, and thus that embedding languages are hard to use.
The thing about embedding languages is that you aren't meant to see the embedded form!!! HTML is an embedding language, and I'm editing it right now (to write this post) without ever seeing a single HTML tag. I can see HTML of course if I want to by opening devtools, but the real power of an embedding language is that it can serve as a backend to a GUI because there's no state that you could create in the GUI that can't be represented in the embedding language