Tree-sitter as the language-extractor upgrade path #66
Replies: 1 comment
-
|
Quick spike report before this gets cold. Ran two probes in a sandbox. 1. 2.
Bonus: Net call: not migrating yet. Spike proved feasibility, not necessity. Audited recent banked extractor bugs — only the C# delegate row would have been free with tree-sitter. The scope-detection issues (#46, #54), the Parking it. Triggers to revisit:
Any one flips this from "tracked option" to "do it." Until then regex stays — and #61 is the real test of whether it hits its ceiling. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Today gitmsg uses regex per language to pull symbols from the diff. It works, but has a ceiling — the C# delegate row took three rewrites and tree-sitter would have made that free.
Filing now so the upgrade path lives somewhere public.
Keep:
Open questions:
Non-goals: not blocking 1.0, not removing the regex extractors.
Credit to u/lurking_bishop on r/commandline for the nudge and to https://mergiraf.org/ for the prior art.
Beta Was this translation helpful? Give feedback.
All reactions