emacs-devel
[Top][All Lists]
Advanced

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

Re: Tree-sitter introduction documentation


From: Dmitry Gutov
Subject: Re: Tree-sitter introduction documentation
Date: Tue, 27 Dec 2022 00:42:55 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 17/12/2022 17:42, Stefan Monnier wrote:
Those grammars have been in use for a while now
(by other editors), AFAIK, so why would the situation change just because
Emacs starts to use them as well?

I guess "other editors" that use tree-sitter do bundle the grammars?

Or include them in the optional language packages. Or provide built-in recipes to install them.

E.g. nvim-treesitter seems to be doing the latter: https://github.com/nvim-treesitter/nvim-treesitter#language-parsers

The corresponding recipes look like:

list.ruby = {
  install_info = {
    url = "https://github.com/tree-sitter/tree-sitter-ruby";,
    files = { "src/parser.c", "src/scanner.cc" },
  },
  maintainers = { "@TravonteD" },
}



reply via email to

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