emacs-devel
[Top][All Lists]
Advanced

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

Re: Tree-sitter api


From: Eli Zaretskii
Subject: Re: Tree-sitter api
Date: Tue, 14 Sep 2021 14:29:31 +0300

> From: Yuan Fu <casouri@gmail.com>
> Date: Mon, 13 Sep 2021 21:27:00 -0700
> Cc: Tuấn-Anh Nguyễn <ubolonton@gmail.com>,
>  Theodor Thornhill <theo@thornhill.no>,
>  Clément Pit-Claudel <cpitclaudel@gmail.com>,
>  Emacs developers <emacs-devel@gnu.org>,
>  Stefan Monnier <monnier@iro.umontreal.ca>,
>  stephen_leake@stephe-leake.org
> 
> > I guess I don't see a problem there?  What is the problem?
> 
> I thought you proposed the major mode thing to replace the naming scheme, 
> because we were talking about naming languages and translating language names 
> to library names when you proposed it. So you agree to to the initial plan to 
> translate tree-sitter-<lang> to libtree-sitter-<lang>.so/etc, and to use an 
> override alist for irregular names?

Almost: there's the (minor) problem of obtaining the "<lang>" part by
the major-mode.  I think it would be good to have a utility function
to do that so that major modes won't need to reinvent the wheel, do
the research, etc.



reply via email to

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