HackerTubewatch
Surprise me
Frame from Tree-sitter: a new parsing system for programming tools - GitHub Universe 2017 Plays via YouTube's privacy-enhanced embed

Tree-sitter: a new parsing system for programming tools - GitHub Universe 2017

4 videos recommended on HN
YouTube
2 HN users recommended this talk2 months2018–2022 score 2
Years with an HN recommendation, 2007–2026

Recommended as the canonical introduction to tree-sitter and why fast incremental parsing enables live editor support.

Max Brunsfeld of GitHub presents Tree-sitter, a parsing system for programming tools that supports incremental, error-tolerant parsing. He demos its integration into GitHub.com and Atom for syntax highlighting and code navigation.

“There is a long (42 minutes) but worth to watch talk about tree-sitter” (HN, 2022)

2 recommendations · 2 citations · Talks · intermediate

4 Hacker News comments

From the HN archive; up to 20 kept per video, favoring different commenters. Recommendations first.

@lewisl9029 Mar 2018 Recommends
on HN thread Atom 1.25
Read more
Tree-sitter is not just for code folding, it's a full-on incremental parser that's fast enough to run on every keystroke. See their expand selection example for another really compelling use-case. If you're interested in more details, there's also this talk from the developer behind tree-sitter ( [this video] ), where he showcases how they could use tree-sitter to quickly parse entire multi-megabyte minified JS files to provide complete syntax highlighting for them that updates as you edit, and how the accuracy and usefulness of the actual syntax highlighting can improve over regex based implementations due to having access to the fully specified grammar of the language. I think tree-sitter is also a game changer for extension development once it stabilizes and the APIs are opened up. Extensions like swackets will no longer have arbitrary performance constraints that break user experience ( [link] ), and it opens the door to a whole new set of intelligent extensions that understand the languages you write at a much deeper level that were previously unfeasible due to parsing performance, or required some external heavy-weight language server.
Tree-sitter creator shows fast incremental parsing for syntax highlighting.
@ris58h Apr 2022 Recommends
on HN thread Zas Editor
They use tree-sitter [link] It's ok with errors in AST and just marks such nodes as invalid. There is a long (42 minutes) but worth to watch talk about tree-sitter [this video] Or the shorter version (20 minutes) [link]
Long talk on tree-sitter and error-tolerant parsing.

Citations, criticism and jokes

@imoldfella Apr 2019 Cites it
on HN thread A Brief and Brisk Overview of Compiler Architecture
100% agree. If starting now I think you should consider targeting mlir[1]. It fixes many problems you will have with llvm, and allows you to create language specific dialects and transformations. Impressive new work by a top-notch team led by LLVM creator Chris Lattner. It has LLVM as an optional target, so you get that for free. For a parser, you should consider using tree-sitter[2]. Tree-sitter gives you live editor support for free. Impressive work by Max Brunsfeld. [1] [link] [2] [this video]
Tree-sitter talk cited as parser option for new languages.

Video list and Hacker News comment labels from HackerTube (prompted by @karpathy), released under ODC-By 1.0, built on the open-index/hacker-news archive. Hacker News data is provided by Y Combinator; comments remain the work of their authors. Video titles, channel names and thumbnails belong to their creators and are shown via YouTube. HackerTube Watch is an unofficial edition. Data export of 2026-10-31.

Keyboard shortcuts

/
Search
j k
Next / previous video
r
Surprise me
l
Like (video page)
w
Watch later (video page)
?
This help
Esc
Close