From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Bj=C3=B6rn?= Bidar Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter maturity Date: Sun, 29 Dec 2024 17:16:13 +0200 Message-ID: <41859.7854951926$1735485430@news.gmane.org> References: <86plldwb7w.fsf@gnu.org> <86h66pw4sd.fsf@gnu.org> <86bjwxw39z.fsf@gnu.org> <84CBC8F0-A904-4003-820B-C5E2EE30869E@dancol.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15606"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Daniel Colascione , rms@gnu.org, Stefan Kangas , eliz@gnu.org, emacs-devel@gnu.org, philipk@posteo.net, manphiz@gmail.com To: tomas@tuxteam.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 29 16:17:02 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 1tRv2M-0003vy-Ge for ged-emacs-devel@m.gmane-mx.org; Sun, 29 Dec 2024 16:17:02 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRv1g-0000Fr-LN; Sun, 29 Dec 2024 10:16:20 -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 1tRv1e-0000FF-MK for emacs-devel@gnu.org; Sun, 29 Dec 2024 10:16:19 -0500 Original-Received: from thaodan.de ([185.216.177.71]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tRv1c-00083N-5l; Sun, 29 Dec 2024 10:16:18 -0500 Original-Received: from odin (dsl-trebng12-50dc7b-49.dhcp.inet.fi [80.220.123.49]) by thaodan.de (Postfix) with ESMTPSA id AF7FDD00081; Sun, 29 Dec 2024 17:16:13 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1735485374; bh=WIzd0ZL6kl5J18U14CbnT24iUHxIgGNAVu+RZw0Ps90=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=10wXZk/OG6vwgGtOTEsZlxnO3JrEtsQRYvzqLx1flymH+andW3Z28ADljMtXInZmC siKa10bekR7F0tG9NxOVbrwYjNsPJYz6r8Dnv+73kT8CsFTXVV5E65Ow1DuLjHACQc 4LHGjW1o2YgEsYmd7ANGuvYM5zhRtFt3eHO48gRmIhECml1oiHHJqDcxqzEdI7MfxO 0Cz0CjuGSCGih6epSgPGCfB4ZmsfBpQuy/dsdL41pjk/8ra5owOxYylqCBMV+XycjS b56vjNJwFv7Fi3tSmgZBGL7xpOEXmjDnc7H9HmsEZTojdCniSnhEct+kIKIslf5VEh 04loneOmd4HfT+/s4cFGTR66LsTcT7pFF+7Nz15UB08xasJaZX+YL9ps5eRK8AEvgS yimhRnt13Vd+gBFJCY2Us5PhLb5wck09XSFwReGw32AD8aWkbNvlCTZ13KSkrJ57en 1tPULPE9UzuLoQFJ9BRIrjdzvGByjP7//BUSl9Vmp8A0+RpAjwk0uuEaIWKGUfb1Jl a6ux5tPGGjMVD7ESo5u6xsAasGv/G0uVLrvnrwkf2bU3QfEgS/xpLhc2WDKn/oX6s+ 5ed7Wo4or1F7eBRaI0Ctkby4fNgyyagTut7G399yZNYMsVzE71bnvna4EddYKIFiwr yU9NeRA9+psa06iy29GZvu0w= In-Reply-To: (tomas@tuxteam.de's message of "Sun, 29 Dec 2024 07:54:57 +0100") Autocrypt: addr=bjorn.bidar@thaodan.de; prefer-encrypt=nopreference; keydata= mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8 phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2 cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlH Received-SPF: pass client-ip=185.216.177.71; envelope-from=bjorn.bidar@thaodan.de; helo=thaodan.de X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 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, INVALID_MSGID=0.568, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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:327346 Archived-At: tomas@tuxteam.de writes: > On Sun, Dec 29, 2024 at 01:43:28AM -0500, Daniel Colascione wrote: >> >> >> On December 29, 2024 1:41:28 AM EST, tomas@tuxteam.de wrote: >> >On Sat, Dec 28, 2024 at 11:21:10PM -0500, Daniel Colascione wrote: > > [including treesitter grammars in Emacs] > >> >> >But there are practical eeasons why we MIGHT not want to include those >> >> >grammar files in Emacs at all. >> >> > >> >> >> >> >> >> Such as? >> > >> >More difficult to get rid of? >> > >> >Cheers >> >> >> Can you elaborate? > > Sure. I observe that the whole treesitter culture is one far > away from the Gnu culture. So I adopt a careful "wait and see" > approach. I'll compile my Emacs without tree sitter support > for as long as I don't understand the situation. Perhaps I'll > want to avoid the whole thing forever, it depends. >From my point of view the issue is more on the fire and forget approach of many of these projects. Some projects (not just tree-sitter-grammars) don't keep good practices by for example storing blobs in git, modifying sources using git filters after checkout or using unstable in tree dependencies. The latter doesn't affect our situation right now since none of the in-tree dependencies are used. > This will become the more and more difficult the more TS grammars > start displacing regular Emacs grammars. For me the issue is more that it is easier to find support for niche languages by trying to target a broader audiences which do not depend on one specific editor to support. Some modes might pop up for languages which were not supported by Emacs before using tree-sitter grammars only without support for not using tree-sitter.