[Top][All Lists]

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

Re: Code quality of some -ts-mode major modes

From: Philip Kaludercic
Subject: Re: Code quality of some -ts-mode major modes
Date: Fri, 17 Mar 2023 16:53:54 +0000

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Philip Kaludercic <philipk@posteo.net>
>> Cc: ruijie@netyu.xyz,  casouri@gmail.com,  emacs-devel@gnu.org
>> Date: Fri, 17 Mar 2023 15:49:15 +0000
>> Eli Zaretskii <eliz@gnu.org> writes:
>> >> I don't know of any language with multiple independent implementations
>> >
>> > I do.  Indeed, most have just one.  But not all.
>> Could you give me an example that I could try out?
> One example I know of is sql.  I think there's at least one other, but
> I don't remember which one.

For posterity, I'll just mentioned that I managed to find two:

- https://github.com/DerekStride/tree-sitter-sql ("general/permissive")
- https://github.com/m-novikov/tree-sitter-sql ("focus on postgresql")

>> > No you are mistaken.  We do want this to signal an error if
>> > tree-sitter is not compiled in or the grammar is not available.
>> But it doesn't, or am I completely oblivious that
>>   (treesit-ready-p 'something-i-just-made-up)
>> just displays a warning?
> I'm not sure I understand the question.  Are you saying that the above
> is silent, or are you saying that it pops up a warning instead of
> signaling an error?  If the latter, this is the intended behavior;
> sorry for confusingly saying it should error out.

The latter -- that also explains my confusion.

reply via email to

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