From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter maturity Date: Wed, 25 Dec 2024 23:32:28 -0500 Message-ID: References: <1ed88fca-788a-fe9f-b6c8-edb2f49751c9@mavit.org.uk> <67428b3d.c80a0220.2f3036.adbdSMTPIN_ADDED_BROKEN@mx.google.com> <86ldwdm7xg.fsf@gnu.org> <6765355b.c80a0220.1a6b24.3117SMTPIN_ADDED_BROKEN@mx.google.com> <00554790-CACA-4233-8846-9E091CF1F7AA@gmail.com> <87frmfxm8y.fsf@> <86msgl2red.fsf@gnu.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25953"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bjorn.bidar@thaodan.de, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 26 05:32:43 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 1tQfYA-0006c6-UA for ged-emacs-devel@m.gmane-mx.org; Thu, 26 Dec 2024 05:32:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQfXy-00025b-LN; Wed, 25 Dec 2024 23:32:30 -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 1tQfXx-00024e-Ky for emacs-devel@gnu.org; Wed, 25 Dec 2024 23:32:29 -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 1tQfXx-0002UR-CY; Wed, 25 Dec 2024 23:32:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=XoojlQ1QLpSMMU5uPvgURnK3ShEKRREV8yrVTY6Xi6M=; b=ePYfDGhBlZ38 TvIJiP5M4+fud+gWkQVgrL8rxCNTlV5JJN95XsMU4zwuSm0bCHoU/WSRiVTl28O3sCuYwcltXU6KS DcXMk8ZCImz8B15btcR/0hXDca84OhLDr+2ohzURyDdD4ySEnFtXE/x5cT4gkoi67CPvKa5lhAzgn DBQQZgsdVk6ht1vFMuG5ibj6Nk4NJaLcjid/GlV4mltH2dMS42X6ZrT7aWa9G7zBSskHBurzdgrjI Ci1h5YybTkKLAYJVXgxHb49uuAQpEhEgSuvNMKDJK81cJ3waMyK8knoEQd4/mPCXja+6nRKCoQbiF qPcm5h9bb78pEouuGD7v2w==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1tQfXw-0000Yh-M7; Wed, 25 Dec 2024 23:32:28 -0500 In-Reply-To: <86msgl2red.fsf@gnu.org> (message from Eli Zaretskii on Tue, 24 Dec 2024 14:32:10 +0200) 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:327128 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > Ideally, users should be able install the grammars separately, perhaps > > using their `make install' or `apt', and Emacs would only use them > > where they normally get installed. That is ideal because it is not > > very integrated -- it preserves modularity. In particular, it assures > > that the details of how they get installed are not a direct concern of > > Emacs maintenance. > Emacs needs to be built with the tree-sitter library to support the > modes based on it, and the grammar library needs to be installed. That makes sense, but are we talking about two different issues? I though we were talking about various grammars, each for some specific language to be parsed. When you say "the grammar library", does it mean those same grammars? -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)