Impressive! The grammar.json file is just a little bit too underspecced to automate some things. Not to mention it's self-referential. How did you deal with extras and other 'specialisms' that are secretly hidden away in the C-level scanner and so on?
I ask because I wrote Combobulate [1], a structured editing and movement tool for Emacs using TS.
Also there was several requests to create a more formal grammar to describe the grammars but the tree-sitter developers doesn't like the idea and reject then.
Hi, in case you're not already aware of the name clash, there's already a `rr` in the programming world. It's "record and replay": https://rr-project.org/.
I ask because I wrote Combobulate [1], a structured editing and movement tool for Emacs using TS.
1: https://github.com/mickeynp/combobulate