Wilfred / difftastic

a structural diff that understands syntax 🟥🟩

Home Page:https://difftastic.wilfred.me.uk/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Perl parser should be switched out

rabbiveesh opened this issue · comments

Thanks for reporting a bug! Please include all of the following:

The upstream perl parser is unmaintained and very bad. I maintain a much better parser, https://github.com/tree-sitter-perl/tree-sitter-perl

I would love to do whatever work to get this switched, just I don't know what the steps are to update a parser in this repo.

I disagree: the parser I'm currently using is actively maintained and the maintainer has been helpful when I've sent build fixes. I'm not necessarily opposed to changing parsers, but how is yours better?

While I'm not qualified to compare the available tree-sitter-perl implementations on technological terms, I'd like to add a "staffing" and "activity" detail.

tree-sitter-perl/tree-sitter-perl gets updated by a Perl core maintainer, including support for new features added to Perl itself in every release each year, and that person is also the author of Text::Treesitter, the "Perl bindings for tree-sitter". As a long-term Perl user I find this a strong indicator of high quality solution with minimal-to-no lag from Perl capabilities.

Even then, I was only aware of the above, and I'm somewhat surprised there are multiple (competing?) tree-sitter-perl implementations, and I would also like to learn about the differences between them.