Writing regexes to parse programming languages is painful at best
and impossible at worst. (I looked into trying to improve BBEdit's
rules for Elixir and backed away quickly :-/). So, I'm glad to see
a Real Parser (TM) being applied to the problem of code parsing in
text editors.
That said, I
Ben, thank you for the attention. I held myself off elaborating further
because the introductory content in the project's page does a much better
job.
Tree-Sitter parses code and builds an AST out of the nodes. That same tree
can then be smartly updated continuously by providing the locations