Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This tool is built on tree-sitter (https://tree-sitter.github.io/tree-sitter/), so presumably it doesn't need to maintain parsers at all.

I've thought before this is how diffing should be done, and speculated that tree-sitter would make it more feasible.

At this point, whenever I think some language-aware tool ought to exist, my first thought is "Does the language server protocol or tree-sitter make this more feasible?"



Someone still has to build and maintain the parsers, you are just outsourcing this. And I added a bit to my comment, I tend to believe that parsing is the easy part, but that is admittedly more a gut feeling and not based on any real knowledge of that problem space.


That's certainly a good point.

Languages usually change slowly, though, so once a good baseline grammar is in place, maintenance is unlikely to be a huge load.

Furthermore, with tools like tree-sitter and the language server protocol, multiple communities benefit from their continued existence, so there's a bigger pool of contributors to the parser.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: