Modern Tree-sitter, part 2: why scopes matter

Open link in next tab

Modern Tree-sitter, part 2: why scopes matter |

https://pulsar-edit.dev/blog/20230927-savetheclocktower-modern-tree-sitter-part-2.html

A Community-led Hyper-Hackable Text Editor

In the last post, I tried to explain why the new Tree-sitter integration was worth writing about in the first place: because we needed to integrate it into a system defined by TextMate grammars, and we had to solve some challenging problems along the way.

Today I’ll try to illustrate what that system looks like and why it’s important.