[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitte
From: |
Stephen Leake |
Subject: |
Re: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitter |
Date: |
Fri, 30 Jul 2021 11:42:11 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt) |
Andrei Kuznetsov <r12451428287@163.com> writes:
> Stephen Leake <stephen_leake@stephe-leake.org> writes:
>
>> That's true for the common TS runtime, which implements the parser and
>> error recovery, but the code for each language, that builds the LR parse
>> table and some other data structures, is generated in C from a grammar
>> file written in javascript, and must be linked into Emacs somehow. In
>> addition, some languages require an "external scanner", which is more
>> code in C that is specific to the language.
>
> Interesting. I assume it would be possible to reuse the source grammar
> files?
If they are licensed as free software, yes, of course.
What sort of reuse do you have in mind?
--
-- Stephe
- Re: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitter, (continued)
- Re: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitter, Andrei Kuznetsov, 2021/07/29
- Re: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitter, Arthur Miller, 2021/07/30
- Re: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitter, Óscar Fuentes, 2021/07/30
- Re: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitter, Arthur Miller, 2021/07/30
- Re: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitter, Ergus, 2021/07/30
- Re: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitter, Arthur Miller, 2021/07/30
- Re: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitter, Eli Zaretskii, 2021/07/30
- Re: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitter, Arthur Miller, 2021/07/30
- Re: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitter, Ergus, 2021/07/30
- Re: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitter, Arthur Miller, 2021/07/30
- Re: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitter,
Stephen Leake <=
- Re: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitter, Eli Zaretskii, 2021/07/30
- Re: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitter, Stephen Leake, 2021/07/31
- Re: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitter, Eli Zaretskii, 2021/07/31
- Re: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitter, Stephen Leake, 2021/07/31
- Re: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitter, Eli Zaretskii, 2021/07/31
Re: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitter, Andrei Kuznetsov, 2021/07/28