[Top][All Lists]

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

Re: Tree-sitter introduction documentation

From: Stefan Monnier
Subject: Re: Tree-sitter introduction documentation
Date: Tue, 27 Dec 2022 16:13:39 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

> It should be possible to port this, but I question if it is worth
> the effort.

I think it's worth the effort in order to help empower our users to make
changes to their grammars.  Otherwise we're back to grammars whose
source is legally-speaking Free but that most of ours users wouldn't
know how to change.

> though considering that Emacs isn't the first editor with TreeSitter
> support, I wonder why this hasn't happened yet. 

My guess is lack of motivation on one side (most editors using
Tree-sitter already provide built-in support to automatically install
relevant grammars, which is even simpler (but not empowering) for the
end users since they don't need administrators access to install the
relevant grammars).

On the other side is probably the difficulty of packaging Rust and JS
libraries which tend to be horribly misbehaved w.r.t what distributions
expect (with things like vendoring or dependencies on very specific
versions of libraries).


reply via email to

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