Open pokey opened 2 years ago
I'm worried that this means that we need to implement the same grammar logic both talon and extension side.
Def worth a conversation. We'd basically make Talon side as simple as possible. I'm just not sure it's possible to do what we want with Talon's simple grammar model, ie precedence rules etc
I wonder if we should just send a sequence of terms to cursorless and then have a full-blown parser there (tree-sitter?). Then we could define precedence rules, etc. Ie "head inside every funk air past bat" would be split into a sequence of seven tokens:
[head, inside, every, funk, air, past, bat]
, and then cursorless VSCode would figure out how to parse it.