Tree-sitter Parser

Discussions recommending Tree-sitter as a solution for code parsing, syntax highlighting, and AST manipulation in editors like Neovim, Emacs, and VS Code, often comparing it to the parent article's tool.

➡️ Stable 0.5x Open Source
2,100
Comments
18
Years Active
5
Top Authors
#7811
Topic ID

Activity Over Time

2009
11
2010
7
2011
20
2012
20
2013
42
2014
55
2015
61
2016
46
2017
99
2018
74
2019
78
2020
118
2021
269
2022
241
2023
333
2024
356
2025
210
2026
86

Keywords

lobste.rs LLM C99 parsing.pdf sorbet.run IDE liveprogramming.aspx TreeSitter microsoft.com VS tree ast languages ruby language semantic parsing syntax editing lsp

Sample Comments

feanaro Jul 8, 2021 View on HN

Many of your concerns could be alleviated by using Tree-Sitter. (https://tree-sitter.github.io/tree-sitter/)

frainfreeze Apr 16, 2025 View on HN

This is something you could do with tree-sitter https://tree-sitter.github.io/tree-sitter/

IshKebab Dec 18, 2019 View on HN

No mention of Tree-sitter (http://tree-sitter.github.io/tree-sitter/), which this looks very similar to.

anonthrow Mar 30, 2024 View on HN

this is now possible in every IDE thanks to tree-sitter.

matricaria Apr 1, 2024 View on HN

Isn’t this easily implementable with Treesitter? Just needs someone determined to do it.

stuross Feb 15, 2019 View on HN

take a look at https://github.com/tree-sitter/tree-sitter

IshKebab Dec 11, 2020 View on HN

Yes. Go and look up Tree Sitter and its references.

derekcheng08 Oct 5, 2025 View on HN

This is pretty awesome! If it's built on tree-sitter, is it fair to assume it's generalizable across languages?

weebull Jul 30, 2023 View on HN

Sounds like a good application for treesitter

herrington_d May 31, 2023 View on HN

The missing guide for tree-sitter