emacs-devel
[Top][All Lists]
Advanced

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

Re: Tree-sitter maturity


From: Peter Oliver
Subject: Re: Tree-sitter maturity
Date: Sat, 28 Dec 2024 12:20:35 +0000

On Fri, 27 Dec 2024, 14:20 Philip Kaludercic, <philipk@posteo.net> wrote:
Daniel Colascione <dancol@dancol.org> writes:

> Why not just vendor all the grammars with the Emacs modes that use them?

I am guessing part of the reason is that TS grammars are not fun to
build.  IIRC they are specified in a _javascript_ DSL (that used to
require node.js but AFAIU works with other implementations as well),
that a program written in Rust translates to C code.

It's probably worth mentioning that the generated C code is included in the Git repositories, these days along with a Makefile.  So, if you're only building rather than developing the grammars, you can simply run `make && make install` or similar.

--
Peter Oliver

reply via email to

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