this post was submitted on 19 Apr 2026
1 points (100.0% liked)
Nix / NixOS
2721 readers
1 users here now
Main links
Videos
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It's layers and layers of indirections with no clear need and technical decisions that make things unnecessarily complex.
So your basically writing Regexes in a custom DSL in JavaScript, combined with custom hooks written in C, from which a megabytes-large native-code parser is generated.
The complexity of the solution does not fit the niche between dead-easy TextMate grammars and plugging into an LSP.
Don't misunderstand me, I wish there was something filling that niche, but TreeSitter 100% certainly isn't it.