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