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?Jo=C3=A3o_Paulo_Labegalini_de_Carvalho?= Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter doc question Date: Sat, 10 Dec 2022 08:29:26 -0700 Message-ID: References: <83y1rgzsk4.fsf@gnu.org> <83h6y3y7bj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000352a8e05ef7af0b5" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3988"; mail-complaints-to="usenet@ciao.gmane.io" To: Pedro Andres Aranda Gutierrez , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 10 16:30:07 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 1p41ni-0000p8-Jp for ged-emacs-devel@m.gmane-mx.org; Sat, 10 Dec 2022 16:30:06 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p41nL-0005rY-Td; Sat, 10 Dec 2022 10:29:43 -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 1p41nK-0005rK-Nh for emacs-devel@gnu.org; Sat, 10 Dec 2022 10:29:42 -0500 Original-Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p41nI-0007nj-MI for emacs-devel@gnu.org; Sat, 10 Dec 2022 10:29:42 -0500 Original-Received: by mail-ej1-x62d.google.com with SMTP id qk9so18070983ejc.3 for ; Sat, 10 Dec 2022 07:29:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=zLH6DF3hvPaBJRJTrXw+lBL4KB4GejSlkLqtxecM4J8=; b=DVwnCxMf3jFBkXvzuFH7oTCoOTBl+VNgnNouXJnm9TkTQIuiadkb7RLpyLy+Yl9tyk uNuFj+8sAD50QIWZ++KbXMPNbXuK4HJuL+F08lg3+v2WmVF7OcIY/Zy2bttxzUjkzQf1 QGoXfCOIedaM18cELdIq95H/FO0puUhgo4WDuKGGdJqnZWp8XX8/KQll+Zmwzvk3Sp2A BP0lF2kRanqOutiSveUOBgiLsjHxC2sFCU9XIOTzsb5ngh9kmko199SFlQEfmqzRwxlK pAiEMUpsDSzK7owagBc2JEOekEzlM0+/Sjk78Me4pdk5Uzpyatxnco+3YysJAwBoxUvq cNXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=zLH6DF3hvPaBJRJTrXw+lBL4KB4GejSlkLqtxecM4J8=; b=LJjPKlcxRHaWGaHppkp44atGO80uQXOTmEaupdFZqflshP9F89L6KJHLhlfyhc/Fby /UxT/NfklObggxKgtrLIXi07RiHLl0G+lTXBI/IS8HsKfaRTK4RG21NM1wg92Ue+iKFy ZUHXhVfN3RU8WkzYiHcZlUDm5DNo1X9J0/EYTZwwk3VzfRS13fKezqkavmJ6bBEJDcr2 QPmQ00wEaOjIgN77FfN1rW7NMspp/k6erdpZ9YWR+qeA7GywaDZXWeMMmxtr0VF/vA6i SH/hxTBZcRDJzI8uM4+3bDaCRzg8ZhzxXw4W6u6EvW2CRwYd/0irLLCwUqBqXOR4CirW T5Mw== X-Gm-Message-State: ANoB5pmQheaq8G3UzISXMoW2I15dpLgogV9OgH/gcg4IH+35a4zH5Z/b 0t08nzpNARYq8z6VEuUELiNtEN52ljE+uH72pJpqZapBdto= X-Google-Smtp-Source: AA0mqf6VY5dW/3m8GJsl+/ciRZR2vENVobXX7FgVgsXYsHkLqJJTObV/J7M4gKl57HCrRQISwU/uol7XpDbnYQR9XCM= X-Received: by 2002:a17:906:6417:b0:7ae:937f:2c38 with SMTP id d23-20020a170906641700b007ae937f2c38mr65118742ejm.201.1670686178616; Sat, 10 Dec 2022 07:29:38 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::62d; envelope-from=jaopaulolc@gmail.com; helo=mail-ej1-x62d.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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:301115 Archived-At: --000000000000352a8e05ef7af0b5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > I'm on Ubuntu 20.04 LTS and have little time to face a migration to 22.04 > and I haven't > found anyone providing a PPA to install tree-sitter on my system. Same > might also > be true for many Debian users... > You can build tree-sitter from source by cloning the repo https://github.com/tree-sitter/tree-sitter and running make && make install PREFIX=3D. Alternatively, you can grab one of the pre-build releases here: https://github.com/tree-sitter/tree-sitter/releases After that make sure to export PKG_CONFIG_PATH=3D/lib/pkgconfig. Once that is done, emacs should build with tree-sitter smoothly. --=20 Jo=C3=A3o Paulo L. de Carvalho Ph.D Computer Science | IC-UNICAMP | Campinas , SP - Brazil Postdoctoral Research Fellow | University of Alberta | Edmonton, AB - Canad= a joao.carvalho@ic.unicamp.br joao.carvalho@ualberta.ca --000000000000352a8e05ef7af0b5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I'm on Ubuntu 20.04 LTS and have little time= to face a migration to 22.04 and I haven't
found anyone prov= iding a PPA to install tree-sitter on my system. Same might also
= be true for many Debian users...
<= br>
You can build tree-sitter from source by cloning the repo=C2= =A0https://github.co= m/tree-sitter/tree-sitter and running make && make install PREF= IX=3D<installation directory>.

Alternatively, you can grab one= of the pre-build releases here:=C2=A0https://github.com/tree-sitter/tree-sitter/relea= ses

After that make sure to export PKG_CONFIG_PATH=3D<tree-si= tter install dir>/lib/pkgconfig.

Once that is done, emacs should = build with tree-sitter smoothly.

--
Jo=C3=A3o Paulo L. de Carvalho
Ph.D Computer Science | =C2=A0IC-UN= ICAMP | Campinas , SP - Brazil
Postdoctoral Research Fellow | University= of Alberta | Edmonton, AB - Canada
--000000000000352a8e05ef7af0b5--