Lesson plan

Tree-sitter (parser generator)

Tree-sitter is a free and open-source parser generator and incremental parsing library. It is used to parse source code into concrete syntax trees usable in compilers, interpreters, text editors, and static analyzers. It is specialized for use in text editors, as it supports incremental parsing for updating parse trees while code is edited in real time, and provides a built-in S-expression query system for analyzing code. Text editors which have official integrations with Tree-sitter include GNU Emacs, Neovim, Lapce, Zed, Helix, and Atom. Language bindings allow it to be used from programming languages including Go, Haskell, Java, JavaScript (with Node.js and WASM), Julia, Kotlin, Lua, OCaml, Perl, Python, Ruby, Rust, Swift, and Zig. Tree-sitter parsers have been written for these languages and many others. GitHub uses Tree-sitter to support in-browser symbolic code navigation in Git repositories. Tree-sitter uses a GLR parser, a type of LR parser. Tree-sitter was originally developed by GitHub for use in the Atom text editor, where it was first released in 2018.

Back to article

Article summary

Tree-sitter is a free and open-source parser generator and incremental parsing library. It is used to parse source code into concrete syntax trees usable in compilers, interpreters, text editors, and static analyzers. It is specialized for use in text editors, as it supports incremental parsing for updating parse trees while code is edited in real time, and provides a built-in S-expression query system for analyzing code. Text editors which have official integrations with Tree-sitter include GNU Emacs, Neovim, Lapce, Zed, Helix, and Atom. Language bindings allow it to be used from programming languages including Go, Haskell, Java, JavaScript (with Node.js and WASM), Julia, Kotlin, Lua, OCaml, Perl, Python, Ruby, Rust, Swift, and Zig. Tree-sitter parsers have been written for these languages and many others. GitHub uses Tree-sitter to support in-browser symbolic code navigation in Git repositories. Tree-sitter uses a GLR parser, a type of LR parser. Tree-sitter was originally developed by GitHub for use in the Atom text editor, where it was first released in 2018.

Key claims

  1. release date: 2018 — source: Wikipedia, revision 1374353649, retrieved 2026-10-20 · confidence 0.95

Discussion questions

  1. Summarise the article in your own words. Which single claim would you verify first, and why?
  2. The record states that the release date is "2018". What evidence would count against this claim?
  3. Which claim in this article is most likely to be revised as the sources update? How would you check its current status?
  4. If two sources disagreed about one of these facts, what would you need in order to trust one over the other?

Bibliography

  1. Wikipedia, “Tree-sitter (parser generator)”, revision 1374353649, retrieved 2026-10-20 https://en.wikipedia.org/w/index.php?oldid=1374353649

Key claims and bibliography are generated from the same tracked claims and sources as the article page.