emacs-devel
[Top][All Lists]
Advanced

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

Re: Hosting tree-sitter pre-built language definitions on ELPA?


From: Eli Zaretskii
Subject: Re: Hosting tree-sitter pre-built language definitions on ELPA?
Date: Sun, 02 Oct 2022 09:19:08 +0300

> From: Po Lu <luangruo@yahoo.com>
> Cc: emacs-devel <emacs-devel@gnu.org>
> Date: Sun, 02 Oct 2022 13:15:08 +0800
> 
> Yuan Fu <casouri@gmail.com> writes:
> 
> > Tree-sitter needs language definitions to parse different
> > languages. These language definitions come in the form of dynamic
> > libraries. We can’t bundle them with Emacs since their version must
> > match that of tree-sitter library, and we don’t bundle the tree-sitter
> > library; also they are machine-dependent.
> 
> If that's a problem, perhaps we could import the tree-sitter library
> into the Emacs tree, like the XMenu library currently is.

Again, I don't see why tree-sitter should be handled differently from
other optional libraries.

We might discover good reasons for that after we gain some actual
experience, but up-front I see no reason to assume any special issues.
IOW, I think we are "putting the cart before the horse" here.



reply via email to

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