emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New tree sitter "official" langs


From: Björn Bidar
Subject: Re: New tree sitter "official" langs
Date: Wed, 24 Jul 2024 00:40:54 +0300
User-agent: Gnus/5.13 (Gnus v5.13)

Hey,

While updating the source of grammars in Emacs it would
also make sense to mention that grammars or better the parsers
generated by the grammars can be obtained by Linux some distributions.
Besides the ease of use for the user the limitation of having to
generate parser and build them is not needed anymore.
Granted many of the projects store the generated parser blob in their
own source tree however that doesn't mean it's up to date or trustful.

E.g. for Arch Linux, openSUSE, Alt Linux.
Fedora has started packging grammars but so far it only has managed to
package one (Java).

https://pkgs.org/search/?q=tree-sitter

I did the rpm packaging for tree-sitter-grammars for openSUSE. The
grammars can be installed through the package manager and Emacs will
pick them up without any user intervention.
The packaging isn't openSUSE specific by any means.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]