From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter introduction documentation Date: Fri, 16 Dec 2022 18:15:38 +0100 Message-ID: <87cz8jxoat.fsf@ledu-giraud.fr> References: <83edszjslp.fsf@gnu.org> <87tu1vxs3a.fsf@ledu-giraud.fr> <831qozjob7.fsf@gnu.org> 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="3131"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: joaotavora@gmail.com, pedz@easesoftware.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 16 18:16:32 2022 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 1p6EJz-0000XM-Fp for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Dec 2022 18:16:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6EJM-00017I-HQ; Fri, 16 Dec 2022 12:15:52 -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 1p6EJG-00015v-1z for emacs-devel@gnu.org; Fri, 16 Dec 2022 12:15:46 -0500 Original-Received: from ledu-giraud.fr ([51.159.28.247]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6EJD-0004lc-Ah; Fri, 16 Dec 2022 12:15:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=725Y2WbgQwS196mW c7aoLjfIwBF4yijnGbE84rvPCS4=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=mz/XUMb/zfzVY76iDbAJpJm/qjsFbvg3amTlAZ 5QEwbaGhPhO7wbrzXBpXCfWsqsP/bUwIEQwCe3K0VycTbCCuKnA5ZxZ0G2ozexDF1o6dnZ YRYXjv4A/Cl/EYxTw/PpfV4QSLyDnHopfd/OzoESo6Nzb0RLbn1aLuk04JDJayKlgMi0ej 5S2MNnPupAHqYpHLQ9zXIesU78y44Q8Kv1orebhNlCMvH4u43ecMHUGvaw6fQiBHu1cETE OglS0GqS2erE9mMqasMg8qa0BwmzttIuLn3w46Xy0iLcUw7mcYewUJS3YerfmoSTpDotSo IkhjOvzsNVNciyyHyJI6MvtA== Original-Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 217de408 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 16 Dec 2022 18:15:39 +0100 (CET) In-Reply-To: <831qozjob7.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 16 Dec 2022 18:39:08 +0200") Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@ledu-giraud.fr; helo=ledu-giraud.fr 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, SPF_HELO_PASS=-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:301507 Archived-At: Eli Zaretskii writes: [...] > Then please take this up with your distro folks. Or build the > libraries yourself, it isn't hard. It might not be hard but, as always with those things, it is another burden on the user. [...] > Easier, yes. But up to a point. We cannot be expected to distribute > third-party libraries instead of the distro. Ok but with tree-sitter, it feels like there is two level of third-party: - the tree-sitter library - the =C2=ABlanguage specicic part=C2=BB library The former seems to be easily available in distro's packages (as is librsvg, libcairo, etc.) but the latter does not seem to be as accessible. I hope it will change with time and adoption of tree-sitter otherwise tree-sitter usage (at least in emacs) will end up being =C2=ABexpert=C2=BB matter. --=20 Manuel Giraud