From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter maturity Date: Sun, 29 Dec 2024 16:14:26 +0200 Message-ID: <039287d9-cc6d-467d-900b-c5c2885fdfff@gutov.dev> References: <86ldwdm7xg.fsf@gnu.org> <6765355b.c80a0220.1a6b24.3117SMTPIN_ADDED_BROKEN@mx.google.com> <00554790-CACA-4233-8846-9E091CF1F7AA@gmail.com> <86msgl2red.fsf@gnu.org> <87o710sr7y.fsf@debian-hx90.lan> <8734i9tmze.fsf@posteo.net> <86plldwb7w.fsf@gnu.org> <87ttapryxr.fsf@posteo.net> <0883EB00-3BB2-4BC8-95D1-45F4497C0526@dancol.org> <87plldrx6a.fsf@posteo.net> <87ikr5rwx0.fsf@posteo.net> <86ed1rq6gc.fsf@gnu.org> <73737665-984E-4C97-9183-7805C1BCB550@dancol.org> <86bjwuricz.fsf@gnu.org> <5D1AB17D-8847-42ED-B246-8DB4D11F7FB7@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="341"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: emacs-devel@gnu.org To: Daniel Colascione , Yuan Fu , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 29 15:15:36 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 1tRu4t-000AV0-9G for ged-emacs-devel@m.gmane-mx.org; Sun, 29 Dec 2024 15:15:36 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRu3y-0006JR-JH; Sun, 29 Dec 2024 09:14:39 -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 1tRu3w-0006JI-UO for emacs-devel@gnu.org; Sun, 29 Dec 2024 09:14:37 -0500 Original-Received: from fout-a1-smtp.messagingengine.com ([103.168.172.144]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tRu3u-00079R-Rf; Sun, 29 Dec 2024 09:14:36 -0500 Original-Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfout.phl.internal (Postfix) with ESMTP id E219213801DA; Sun, 29 Dec 2024 09:14:31 -0500 (EST) Original-Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-11.internal (MEProxy); Sun, 29 Dec 2024 09:14:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1735481671; x=1735568071; bh=RFiiT7cpX5W9UkPoaXOOx1iu1XrBgRCrmn1CkwvjIjs=; b= ExV6b/pL98ZbMn5Lo7XouzhBCmrRxr1ZirzgAcjpbRmCDZNnm+GMFtDxqlLJUqeD HwWaBcAXzRj7vEDTbywLZtkUNN7SNuTXiuh0o03zO2AOCDXNw+itV7ywinT+hn8I yFX9/8TBEIqNjnA6iM7ppZfS5eeaumUXBRS7l40ShIowXp6EciPwFmDF/4FGKDrk bP98UssS+NkceCoaH6rQTHhTMTtD8VUtMqy8NowpCXZBRWqWCAhYj5ciqN4dnECU XHXfZgZp7xmXfpjGJEHME7ZYKGNCibj34ZRzdYK5+9RzR18o8dXM/NavfjnksRFt C1QYcKyW6IUzqGzal/h2fQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1735481671; x= 1735568071; bh=RFiiT7cpX5W9UkPoaXOOx1iu1XrBgRCrmn1CkwvjIjs=; b=p jHouTOxKKsRYS9mMODyJ9BUXALiMw2LO4f94t3joQmZv/v9fRlqqL8+8TmEMg5Cj qNFQc/BkrbY7iLsSRQgFqdo/kIXIjEnFLAfYutgSXxzG6VZo+rsODmj/2HqBzvDU eygZXTjR5hTq5WYmI8i66KjFd9rFFORNxzRE9LnNbFwx/Uk2oAX31489X/hZTJdc 5Go3v0XMWe+bo7uALp/I/y16Fm5GhE2DHfIaHGlKsJ+SHge16HQpwF+u25uZ5GBI 3ErwjDYmSZnVJc+KX0B2iRJwdbUCzAQUsgbw8pfulxFGjyfykbjtwi7pz5GPjEhN MqUhj1uzTt2S1W+0N5mTQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddruddvgedgieegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdej necuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdrug gvvheqnecuggftrfgrthhtvghrnhepteduleejgeehtefgheegjeekueehvdevieekueef tddvtdevfefhvdevgedujeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghvpdhnsggprhgtphhtthho peegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegurghntgholhesuggrnhgtoh hlrdhorhhgpdhrtghpthhtoheptggrshhouhhrihesghhmrghilhdrtghomhdprhgtphht thhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopegvmhgrtghsqdguvghvvghlse hgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 29 Dec 2024 09:14:29 -0500 (EST) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=103.168.172.144; envelope-from=dmitry@gutov.dev; helo=fout-a1-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action 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:327337 Archived-At: On 29/12/2024 11:14, Daniel Colascione wrote: > The grammars don't make any backwards compatibility guarantees. There have been multiple Emacs bugs arising from grammars unilaterally changing terminal names and such. ISTM the only way to guarantee compatibility is to vendor the whole stack. Keeping the list of grammar repos' urls and the "last known working" commit hashes is a way to achieve the same (with 99.9% certainty) without the associated burden of maintaining the vendored code and the commit history churn.