From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Peter Oliver Newsgroups: gmane.emacs.devel Subject: Tree-sitter maturity (was: My resignation from Emacs development) Date: Thu, 21 Nov 2024 12:34:10 +0000 (GMT) Message-ID: <1ed88fca-788a-fe9f-b6c8-edb2f49751c9@mavit.org.uk> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="-1463811584-394502812-1732192450=:4384" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18017"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 21 13:34:57 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 1tE6Oe-0004WQ-NA for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Nov 2024 13:34:56 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tE6O4-0001IY-OV; Thu, 21 Nov 2024 07:34: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 1tE6O3-0001Gw-26 for emacs-devel@gnu.org; Thu, 21 Nov 2024 07:34:19 -0500 Original-Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tE6Nz-0003KQ-EK for emacs-devel@gnu.org; Thu, 21 Nov 2024 07:34:18 -0500 Original-Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-4316f3d3c21so6868825e9.3 for ; Thu, 21 Nov 2024 04:34:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mavit.org.uk; s=google; t=1732192453; x=1732797253; darn=gnu.org; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=cixaOnCcwKi8C4hfeJvgL3K5tg8PAj2deYNE8WIrjEA=; b=h+0tle/Dn0uN/FAIrqwA1+bwhqCF4+KMY6dBTyGfOlyYIAonEzhhj+7EcozRf4o0fz sxJv+0yBuKemzfxDj+tniWmzhc9wMcd9huVKNZD9P2EvqSoyJWKNo1G6s0NI/0K3Rp98 pfOx/B2AH+97FW9UQyYRrF1GOCq0jg1Ikdd5Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732192453; x=1732797253; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cixaOnCcwKi8C4hfeJvgL3K5tg8PAj2deYNE8WIrjEA=; b=ttDVFgVjk5xQVxlSKHpN37vhwIqyINeJTuNWfCmEEK/IKbNBpO50K5YCLOKFSoLNIS FKnOwYl5ZGq+V6brcFZ/VKHEPEePQhpWqkrTVJWABdmOqtC/LTpmqNgm925HkVJrnhHz jQ3IAQtNxMUKPLXgQPEfBcxu6Wan4jOBNeX+hlOfgSftiUlJOhxfXucnfO0YJ/qqMBTQ rFObY/uU/YZZsESKxEJs//P3jINTyoWluc9jAdM1l84BgtJ54sy9898ODBKGzqwUrQ1i ye41y3krwwClhHj0atCgCKqGXPtQ4vtbR6SA3ue05cyJVtA93YaqlxaYk8Pe2Ph03gQ9 DO6g== X-Gm-Message-State: AOJu0Yxn+BijM8sPY1IIqMSRjwoIvbUSsfdNgYMdJJxyKCebTunjSy4a oyeQOk+FHnmRH0sR6I73PjfXWPOZh2/MqGOKCZq8mC7Rx7HhQpePcIhb8ehaqA== X-Google-Smtp-Source: AGHT+IFa3wFjfmQqfRSsuWww9AV81Mttk+bAECAMPInHj3NjTIsdQNowbxzAbKDTbIjq1b542rJBFA== X-Received: by 2002:a05:600c:4589:b0:431:2460:5574 with SMTP id 5b1f17b1804b1-4334f020e51mr54222915e9.27.1732192452663; Thu, 21 Nov 2024 04:34:12 -0800 (PST) Original-Received: from froglet.home.mavit.org.uk (dudl-14-b2-v4wan-165806-cust1021.vm31.cable.virginm.net. [82.32.147.254]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b45bdb13sm53814725e9.15.2024.11.21.04.34.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 04:34:12 -0800 (PST) Original-Received: from froglet.home.mavit.org.uk (localhost [127.0.0.1]) by froglet.home.mavit.org.uk (8.18.1/8.17.1) with ESMTPS id 4ALCYAq5012040 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 21 Nov 2024 12:34:10 GMT Original-Received: from localhost (mavit@localhost) by froglet.home.mavit.org.uk (8.18.1/8.18.1/Submit) with ESMTP id 4ALCYAf8012037; Thu, 21 Nov 2024 12:34:10 GMT X-Authentication-Warning: froglet.home.mavit.org.uk: mavit owned process doing -bs In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=p.d.oliver@mavit.org.uk; helo=mail-wm1-x330.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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:325544 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463811584-394502812-1732192450=:4384 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT 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 compile 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=2258924 It’s also worth noting that Tree-sitter itself is somewhat immature; 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). -- Peter Oliver ---1463811584-394502812-1732192450=:4384--