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, 24 Nov 2024 04:10:10 +0200 Message-ID: <29115.0144812249$1732414285@news.gmane.org> References: <1ed88fca-788a-fe9f-b6c8-edb2f49751c9@mavit.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10445"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Stefan Kangas , emacs-devel@gnu.org To: Peter Oliver Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 24 03:11:17 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 1tF25k-0002YH-5h for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Nov 2024 03:11:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tF24p-00068q-NA; Sat, 23 Nov 2024 21:10:19 -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 1tF24n-00067t-Cl for emacs-devel@gnu.org; Sat, 23 Nov 2024 21:10:17 -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 1tF24l-00084f-AG for emacs-devel@gnu.org; Sat, 23 Nov 2024 21:10:17 -0500 Original-Received: from odin (dsl-trebng12-50dc7b-49.dhcp.inet.fi [80.220.123.49]) by thaodan.de (Postfix) with ESMTPSA id 4F947D00072; Sun, 24 Nov 2024 04:10:12 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1732414212; bh=n8dotifSp2xPXE+OsT8tggu0eVsdvt/YhR2x95YL+Bk=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=jT4KY54/Etl/Ws/6joZJRmrYJ4128gjZPPblWCSYl3NE0Q3TkfjMSOGOQVWzPxr0G ftOUz1voE6lN3ayDpvDc55he8iSqBSrQX2Eas0IuUseTXNCSJ+iz5xhhQpeF3wnMxw vaf6AdPSwilZ4xTtQKk7Sq22CDOaxp6U2TNAh128RbBZ+AKSmwbRH5zreILbwdc9It jPQuL5WuWeRcG/NKywBwhHwV2a16wWOMR5U7fxOUhMhrF3eXkemBctq5Z/e4PvxId6 llhZn2wa6YgANAs9yyj38KGBSUCLwPXKNgGjtWKGuGCCcQJW72aJSh8SLvR18R5aTF IaXp3F3/f0DMDvjX03w5tArP0xsOfY7f53wJREprfoqVv5EsXg3t4eSoJrTK1C9U0B 9lJ4L5jVdhzUgPwjob5Knf8nhvUAV0Ap6JxiWD90uloUvDo1dHXN+QAbZYPWQoqa6D h8LlLg2TBlCQC78vdaapmlaKngqTp09McUeMGiC+VcMdz43dfIG4yDuxFHeNFNkkM7 1l8nIDxFmuONaBg76s9qCmeKrV5BFrfEZrHH4KINtg12VSwOvgzwqKeOt8PMV6IXKW JybcLdyOoKxPoRmiX4hntqvxnC16MBJUl8eeleOLRUpmgpoWi2JMrnbP7uKh8Jvftc Oc+imWZUgEK6KJ9zwA3mIZ/s= In-Reply-To: <1ed88fca-788a-fe9f-b6c8-edb2f49751c9@mavit.org.uk> (Peter Oliver's message of "Thu, 21 Nov 2024 12:34:10 +0000 (GMT)") 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_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_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:325639 Archived-At: Peter Oliver writes: > On Wed, 20 Nov 2024, Stefan Kangas wrote: > >> From my point of view, we are still in early days when it comes to the >> new tree-sitter modes. For starters, we do not recommend them by >> default, and some language modes are also not yet ready for prime-time. >> I'm not even sure that a majority of distros ship the feature in a >> useful form yet, but I didn't really check. > > It depends on what you mean by useful. In Fedora, for example, Emacs is = built with Tree-sitter, but each user has to (ask Emacs to) download and co= mpile each parser as they go along. > > If any Fedora packagers read this and would like to help with > packaging the parsers used by Emacs, that would be welcome. The > tracking bug is https://bugzilla.redhat.com/show_bug.cgi?id=3D2258924 Feel free to take a look into the RPM packaging I created for SUSE. There should be a way to collaborate on that if anyone is interested. [1] Using that packaging all the user has to do is to install the required grammar they want. > It=E2=80=99s also worth noting that Tree-sitter itself is somewhat immatu= re; the developers say that until it reaches version 1.0, we should be wary= of potentially unannounced incompatible changes (although they are trying = harder to avoid this, over time). [1] https://build.opensuse.org/package/show/editors/tree-sitter