From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter maturity Date: Thu, 26 Dec 2024 09:12:46 +0200 Message-ID: <86o70yzzm9.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10604"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bjorn.bidar@thaodan.de, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 26 08:14:14 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 1tQi4U-0002ek-02 for ged-emacs-devel@m.gmane-mx.org; Thu, 26 Dec 2024 08:14:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQi3Z-0007Y3-EF; Thu, 26 Dec 2024 02:13:17 -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 1tQi3W-0007Wt-D2 for emacs-devel@gnu.org; Thu, 26 Dec 2024 02:13:14 -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 1tQi3V-0001uh-Lf; Thu, 26 Dec 2024 02:13:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ZvpU7EmaVSk8uD4AlXUo7oddK8QizIZn2QzhW14DeL4=; b=A18RgGclumvb 5p1gYT0YSaD5WV6ix1+guHCj0IbNSVwUn7fCGAyqKgTezMmFHieYbAyqNvpIH8kJ5+RNFI4ULcIQA JBCA1b6XEK6P2mN3ToGffaafxaFDbhkweqJ4LI9yxP2SCF6LPPn4CDJLiGI0tDaX4V0BL5mq6lPAc 8eM5EpRijJP2pa4+fJBEd+3hJ5svZW5w3B8uEcBwYPr+a4TDSMv1jjNkPYJn4Un7yMxKZawQNwQiP 4xMLLGKYHws2XB6KAA+oqlyi1JDod+iJXCwF/G/rpShJckthhUHQwM1nT+AxqGQzNhainBTdKuRFu kfIQrREgSMzqbZ5VMkOGDw==; In-Reply-To: (message from Richard Stallman on Wed, 25 Dec 2024 23:32:28 -0500) 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:327135 Archived-At: > From: Richard Stallman > Cc: bjorn.bidar@thaodan.de, emacs-devel@gnu.org > Date: Wed, 25 Dec 2024 23:32:28 -0500 > > > > 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? Yes. A tree-sitter grammar is a small shared library.