Reading up on Tree-sitter
3 deep · digging since jan 24
- Fine, I’ll build my own text editor! – David Bushell – Web Dev (UK)
David Bushell experiments with canvas, contenteditable, and textarea for a DIY text editor, concluding that textarea offers the best performance and accessibility.
- GitHub - Ataraxy-Labs/sem: Semantic version control => entity-level diffs, blame, and impact analysis on top of git. 26 languages via tree-sitter. Built for coding agents.
sem is an open-source CLI that replaces line-level git diffs with entity-level awareness (functions, classes, methods) using tree-sitter parsing, designed for both human developers and AI coding agents.
- Tree-sitter vs. Language Servers
The Hacker News discussion explores the trade-offs between Tree-sitter's incremental parsing for syntax highlighting and Language Server Protocol's semantic features, concluding that combining both yields the best editor experience.