From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter maturity Date: Thu, 19 Dec 2024 14:42:24 +0200 Message-ID: <86bjx7lu8f.fsf@gnu.org> References: <1ed88fca-788a-fe9f-b6c8-edb2f49751c9@mavit.org.uk> <67428b3d.c80a0220.2f3036.adbdSMTPIN_ADDED_BROKEN@mx.google.com> <86ldwdm7xg.fsf@gnu.org> <7ee6efc4-2993-5553-4e77-d8c2acde93d1@mavit.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30431"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, emacs-devel@gnu.org To: Peter Oliver Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 19 13:43:58 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tOFsk-0007ii-9D for ged-emacs-devel@m.gmane-mx.org; Thu, 19 Dec 2024 13:43:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOFru-0002BA-3u; Thu, 19 Dec 2024 07:43:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tOFrI-00029M-Fc for emacs-devel@gnu.org; Thu, 19 Dec 2024 07:42:28 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tOFrH-0006N0-VF; Thu, 19 Dec 2024 07:42:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=ijoZW71WInwqTv8IJSSRhwKyi0iA1vQsQMNkUlW9a9I=; b=jCihmSEhdtZN1PF9d310 RwurP3/EJhrgxIVv5KrNmSlWU3rcnoS3+vzRcn2L5Myu5XDsEqF5EJ2X5CQOabUNLAR4IPUP2Q6DU H9LvuDYyRmGwc/IqxgpNQuVEz3zsfRx4bIyEWFtCCgxJx3DvOiJxcQzixUfvtmrCcX5s35G48OXsy 2/OrI0AI/fuI0in0hfphUY+BaPgcU4Z+CwWRh+GVwS2suUI63WdVxmaaZc9yx2oQe/5bLtU+YUPjb bAFywbiut+eQDdS/Zhy5uRqg9fXUNS72J8aCR5gfpqWRBkz7PNTyn5EeeHYJSInjtlfDKKuCdnl32 8ORiB/+xeQm0Qg==; In-Reply-To: <7ee6efc4-2993-5553-4e77-d8c2acde93d1@mavit.org.uk> (message from Peter Oliver on Thu, 19 Dec 2024 12:23:12 +0000 (GMT)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:326735 Archived-At: > Date: Thu, 19 Dec 2024 12:23:12 +0000 (GMT) > From: Peter Oliver > cc: Yuan Fu , emacs-devel@gnu.org > > On Wed, 18 Dec 2024, Eli Zaretskii wrote: > > > Many language grammars don't make official releases and thus don't > > have versions. > > I don’t believe this is true of any of the parsers used by modes that are currently part of Emacs, is it? I don't know, I didn't check which ones are in Emacs and which aren't. I have more than 70 grammar libraries on my system, and most of them don't have versions. If most of those in Emacs do, that's just sheer luck which can change any moment, if we add more modes. > If a parser hasn’t made an official release yet, that’s probably a good signal that it’s not suitable for us at the moment. That would exclude too many grammars, I'm afraid. And I don't see a reason to exclude them, since IME they are all perfectly usable and useful. But mentioning the commit SHA is fine by me, as long as we tell users not to assume that any newer version will not work.