"Tree-sitter - a new parsing system for programming tools" by Max Brunsfeld
What it is
Max Brunsfeld introduces Tree-sitter, a parsing system for developer tools that offers incremental parsing and robust error recovery through a uniform C API. The talk explains the design, based on LR extended to GLR parsing.
Why Hacker News recommends it
HN points to it as the best explanation of tree-sitter's design choices and as an accessible introduction to parser generators.
- 4 people recommended it
- 4 different months
- 1 strong recommendations
- first 2018, last 2024
What HN commenters said
“Highly recommend Max Brunsfield's strange loop talk if you want to learn more about the design choices behind tree-sitter”
Explains design choices behind tree-sitter
ievans, 2024-03 · Strong recommendation · in “Difftastic, a structural diff tool that understands syntax”
“For a really nice solution to the error message problem, see this recent strangeloop talk”
Clever GLR-based approach to better parser error messages
lemming, 2018-11 · Recommendation · in “Owl: Parser generator for visibly pushdown languages”
“If you haven't seen the Strange Loop conference talk on tree-sitter [2] yet, it's worth a watch.”
Talk on tree-sitter's design and goals
rtsao, 2020-10 · Recommendation · in “Introducing Semgrep and r2c”
“I also enjoyed the Treesitter talk from 5 years ago by Max Brunsfeld”
Taught commenter about parser generators without CS background
AlexErrant, 2023-12 · Recommendation · in “Lessons from building GitHub code search [video]”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: tree-sitter, parsing, glr, error recovery, developer tools, editors
Also recommended by the same people
talk"Pixie - A Lightweight Lisp with 'Magical' Powers" by Timothy BaldridgeStrange Loop Conference · 2 HN recommenders · 2016–2017
talkRich Harris - Rethinking reactivityYou Gotta Love Frontend · 15 HN recommenders · 2019–2026
talkLexical Scanning in Go - Rob PikeGoogleFOSSSydney · 13 HN recommenders · 2012–2025
talkWilliam Byrd on "The Most Beautiful Program Ever Written" [PWL NYC]PapersWeLove · 11 HN recommenders · 2017–2026
talkCppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17”CppCon · 13 HN recommenders · 2016–2024
talkClasp: Common Lisp using LLVM and C++ for Molecular MetaprogrammingGoogle TechTalks · 8 HN recommenders · 2015–2024
talkCompiling C to printable x86, to make an executable research papersuckerpinch · 8 HN recommenders · 2018–2023
talkBreak Me00 The MoVfuscator Turning mov into a soul crushing RE nightmare Christopher DomasAdrian Crenshaw · 6 HN recommenders · 2017–2026