HackerTube

THE VIDEO SHELF · incremental parsing

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

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.

Why HN readers recommended it

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

This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.

Video & recommendation details

Creator / channel
GitHub
Topic
incremental parsing
Format
talk
Level
intermediate
HN recommenders in dataset
2
HN mentions in dataset
4
Recommendation years in dataset
2018–2022

These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.

From the original HN conversations

Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.

  • 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 …

    lewisl9029 on Hacker News · 2018-03
    In Atom 1.25
  • 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 [VIDEO] Or the shorter version (20 minutes) [LINK]

    ris58h on Hacker News · 2022-04
    In Zas Editor

Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.