[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tree-sitter maturity
From: |
Philip Kaludercic |
Subject: |
Re: Tree-sitter maturity |
Date: |
Sat, 28 Dec 2024 12:23:49 +0000 |
Peter Oliver <p.d.oliver@mavit.org.uk> writes:
> 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.
That's true, and also the reason why `treesit-install-language-grammar'
can work without the additional dependencies, but on the other hand that
doesn't make it any easier to modify the grammars, as one just accepts
that the repositories are tracking generated code.
> --
> Peter Oliver
- Re: Tree-sitter maturity, (continued)
- Re: Tree-sitter maturity, tomas, 2024/12/29
- Re: Tree-sitter maturity, Yuan Fu, 2024/12/29
- Re: Tree-sitter maturity, Daniel Colascione, 2024/12/29
- Re: Tree-sitter maturity, Dmitry Gutov, 2024/12/29
- Re: Tree-sitter maturity, Eli Zaretskii, 2024/12/29
- Re: Tree-sitter maturity, Lynn Winebarger, 2024/12/29
- Re: Tree-sitter maturity, Peter Oliver, 2024/12/28
- Re: Tree-sitter maturity,
Philip Kaludercic <=
- Re: Tree-sitter maturity, Björn Bidar, 2024/12/29
- Re: Tree-sitter maturity, Eli Zaretskii, 2024/12/27
- Re: Tree-sitter maturity, Daniel Colascione, 2024/12/27
- Re: Tree-sitter maturity, Eli Zaretskii, 2024/12/27
- Re: Tree-sitter maturity, Daniel Colascione, 2024/12/27
- Re: Tree-sitter maturity, Stefan Kangas, 2024/12/27
- Re: Tree-sitter maturity, Richard Stallman, 2024/12/28
- Re: Tree-sitter maturity, Daniel Colascione, 2024/12/28
- Re: Tree-sitter maturity, tomas, 2024/12/29
- Re: Tree-sitter maturity, Daniel Colascione, 2024/12/29