|
From: | Theodor Thornhill |
Subject: | Re: Tree-sitter integration on feature/tree-sitter |
Date: | Sun, 08 May 2022 16:25:43 +0200 |
>
> Does that make sense?
Not really, no.
You might want to be more precise about what you mean by "parser" and
explain what's the difference between the "generic parser" and more
specific ones.
By "specific parser" are you referring to something that I might call
"compiled grammars"?
The way I understand it, to use TS for a given language, you need:
- The TS runtime (which should be included in Emacs if you use the
corresponding feature branch and which include what I'd called "the
incremental parser").
- The language's grammar. This is usually a .js file and is compiled to
an .so file by the tree sitter tools. This is *not* included in the
feature branch (neither the grammars nor the tools).
- The glue in the major mode code.
[Prev in Thread] | Current Thread | [Next in Thread] |