HN Hall of Fame Weekly email

Diffsitter: A tree-sitter based AST difftool to get meaningful semantic diffs

github.com Software & code Software projects Software engineering Candidate
Screenshot of github.com captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 2 calendar years, with breakout response in 2 of them.

submissions
3
submitters
3
observed span
2021–2025
peak thread · 53 comments
213 pts
latest 20+ return · 2025-07-10
151 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

Hey guys, author of the project here. I'll admit I was a bit surprised to see this on the front page, I want to say that this is very much alpha software (I very deliberately can't let it hit 1.0 yet), so definitely very rough around the edges. I've been very busy with work recently so I've definitely had a lull in my open source contributions, but I hope that I can get back on track soon (TM). Right now…

affyboi·213-point thread·

If you're looking for something more complete and actively maintained, check out https://github.com/GumTreeDiff/gumtree. (I evaluated semantic diff tools for use in Brokk but I ultimately went with standard textual diff; the main hangup that I couldn't get past is that semantic diff understandably works very poorly when you have a syntactically invalid file due to an in-progress edit.)

jbellis·151-point thread·

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
368

reference only — not used in Hall rules or ranking

Total comments
99

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2021-07-18Diffsitter: A tree-sitter based AST difftool to get meaningful semantic diffsFirst breakout · Best threadtodsacerdoti21353
2025-03-07Diffsitter, a tree-sitter based AST difftool to get meaningful semantic diffscosmojg40
2025-07-10Diffsitter – A Tree-sitter based AST difftool to get meaningful semantic diffsLatest 20+ point returnmihau15146