From: Jens Schmidt via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: perl-ts-mode available?
Date: Sat, 7 Oct 2023 20:10:55 +0200 [thread overview]
Message-ID: <be7107eb-e9c4-4a68-a17a-aba51cd5c81d@vodafonemail.de> (raw)
In-Reply-To: <055ea3e2663d33081622632beaca87166a93f0e4.camel@adminart.net>
On 2023-10-05 04:50, hw wrote:
> Hi,
>
> is a treesitter mode for perl available (somewhere)? Or is one about
> to be created?
>
> I'd venture to write one, but looking at [1] tells me that I don't
> have a clue how to even begin such an endeavor.
>
>
> [1]: /usr/local/share/emacs/30.0.50/lisp/progmodes/c-ts-mode.el.gz
Harald Jörg, the (almost?) maintainer of cperl-mode has started one
on
https://github.com/HaraldJoerg/emacs-perl-ts-mode
but it's very basic so far (as he notes himself!) and does syntax
highlighting only, as far as I can see. Harald also comments on
the treesitter approach for Perl at the end of this post, btw:
https://yhetil.org/emacs-bugs/878r8wa67e.fsf@oook.m.uunet.de/
Plus, as others on this thread have already mentioned, there is no
fully operable treesitter grammar for Perl yet. The one on
https://github.com/tree-sitter-perl/tree-sitter-perl
seems to be the best bet so far.
prev parent reply other threads:[~2023-10-07 18:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-05 2:50 perl-ts-mode available? hw
2023-10-06 2:40 ` Danny Freeman
2023-10-06 4:52 ` Corwin Brust
2023-10-06 20:47 ` hw
2023-10-06 20:44 ` hw
2023-10-07 5:51 ` Edgar Quiroz via Users list for the GNU Emacs text editor
2023-10-11 1:59 ` Danny Freeman
2023-10-07 18:10 ` Jens Schmidt via Users list for the GNU Emacs text editor [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=be7107eb-e9c4-4a68-a17a-aba51cd5c81d@vodafonemail.de \
--to=help-gnu-emacs@gnu.org \
--cc=jschmidt4gnu@vodafonemail.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.