From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qK0yO5byKWJR7gAAgWs5BA (envelope-from ) for ; Thu, 10 Mar 2022 13:44:06 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +NGdOJbyKWKrhwAA9RJhRA (envelope-from ) for ; Thu, 10 Mar 2022 13:44:06 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AC2202FD75 for ; Thu, 10 Mar 2022 13:44:06 +0100 (CET) Received: from localhost ([::1]:45552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSI9E-0005sq-RY for larch@yhetil.org; Thu, 10 Mar 2022 07:44:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53118) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSH4Q-0006d3-0l for guix-patches@gnu.org; Thu, 10 Mar 2022 06:35:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39585) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSH4P-0000iF-N0 for guix-patches@gnu.org; Thu, 10 Mar 2022 06:35:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nSH4P-00067e-Jw for guix-patches@gnu.org; Thu, 10 Mar 2022 06:35:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [WIP PATCH v3 00/26] gnu: Add tree-sitter for emacs (and neovim as well?). Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 10 Mar 2022 11:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49946 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: Pierre Langlois , 49946@debbugs.gnu.org, Luis Henrique Gomes Higino Received: via spool by 49946-submit@debbugs.gnu.org id=B49946.164691209423515 (code B ref 49946); Thu, 10 Mar 2022 11:35:01 +0000 Received: (at 49946) by debbugs.gnu.org; 10 Mar 2022 11:34:54 +0000 Received: from localhost ([127.0.0.1]:33482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSH4I-00067D-Ki for submit@debbugs.gnu.org; Thu, 10 Mar 2022 06:34:54 -0500 Received: from mout.gmx.net ([212.227.17.22]:45735) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSH4H-000670-8n for 49946@debbugs.gnu.org; Thu, 10 Mar 2022 06:34:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1646912083; bh=xQ1FF7dB+ocH3EwvTyiUoNb9LbDYqSmBCmfSFg7nKvA=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to; b=dnNtAuKwSaAAtNiwIPUzXEBkf1+wDRCinoTZPh4qL1BIeFOGt7v4xRX33VK11sdka FoWIszjNb668z5PktaW2ZvrzC32ieUSh5CstiAT2eugin1FoIUsbiJgbN2nl3AiccB jWZktZLCh10eujPHKrSRugrYyN1E1z/pgLWXS5Q0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([82.69.64.142]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MysRu-1oNpUe3BNi-00vyaV; Thu, 10 Mar 2022 12:34:42 +0100 References: <87h7fztt60.fsf@gmx.com> <20210808233354.6745-1-pierre.langlois@gmx.com> <20210808233354.6745-7-pierre.langlois@gmx.com> <87czpwzg9e.fsf@gmx.com> <87leyinxly.fsf@gmx.com> <87lexl1goc.fsf@gmail.com> <87sfrrnpme.fsf@gmx.com> <24f64e912876f56fe40fbaeaec02ddd5e8ef2c4b.camel@telenet.be> User-agent: mu4e 1.6.10; emacs 27.2 From: Pierre Langlois Date: Thu, 10 Mar 2022 11:17:31 +0000 In-reply-to: <24f64e912876f56fe40fbaeaec02ddd5e8ef2c4b.camel@telenet.be> Message-ID: <87zglykpmf.fsf@gmx.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Provags-ID: V03:K1:FhyPIOisxHG2ZP5mMElVwqGQwjx09DQ05kC4QrH94l2HcIhYJ60 fXhYK23HDbKv6cLhMmqbtQ08N7JMLjnRNJdkC7ffyVOSmWjd4CH/WOoD79tdkukKItDIFgb X4V+5wF+HZDNEjvuiCJhOKzCimCBIAgLIqZLjKjhol3ym9x5CMa0HtcTo1T+fEZpTmjcrsA Wj2kv9QODeHB8J3mXk7Jg== X-UI-Out-Filterresults: notjunk:1;V03:K0:EkFQgAxE6iY=:QDNsNdCBeEHMaXkRxgIjB4 q01Nm0DU8OAJuTG3iy77YmXVPPnn/auOr3SYDO0hP8w5FaHjdQzWH5wu8gBd2ebzrmfRPYmoe esorMQ5GXhxG1zlOYWbbBnWj4vMh33f6J7qtcop1AWFIhr4ki17kSKICVnPL7ViTk+b3vGLzZ KfuMYpg8C8PBa0ntfOl7pfU/aIciiUukx54Hoy1UZkZrzqcVULIJDDk3oZus9f+SK+oYQhL2i pJm0Vahcd6SgS30zQZHc/toDHVz10aEs14QuaxpVp81IMxkUKgDOjert7F5R3DnewaQtfTnxE nKzFmzXrhoDqwjyHMGInHNILDcbQ14ekKFa3wIWA7F+WmApAOtU7I9THb9SJuHpbmcgNuLcL6 r/w5bOyhGol7ds7Nd0UuMEsIbcInH1e9/mUDD2LALxGMF5s9ltwVel6EJHnI1PSwA3FnA8r2i gEutjhshIWJ4Xjjan7XgBzPxQYtT3rXztWG6tAZPrAHMWfibtK7hT0ajaHfQQpfIV6urFDn9t SwbUS8GXX7HNm4xt1DL1+/v9hfKZaUhqMjlY8Cy05A5s0zeKojqUh7R0LjxAGD5YqzOAbsqVZ VbszT5fjxQ1lKcGRRdDn4LrvXYGXftbKtNk3hikVggL12CCVLZTPt9Orubl3PMg4heNSAGCW/ 4xmoxQetkBd/dMx1d9/wfRb+zLXi60P20UGsUmmhbTn9rZdlGLP3BApEGVokyAhlclnji/VVX Wqa06O5bM6p1ostu+bKGqTQDFXkOpIeIW0eEP/zvFtzo5fbq4XV0YP5lSkZwYjh/BNUX9SsZH 2VTFqfaywPKgZfzgU6A5of74su5Gdwh1zPrQWyAJdKk7lXwYHmNurOFLv1D7eDwfm9Lw2DspQ HeI41kOYO00uRx9SSWdbmNfr9+DsBIQ66eQrEfHbhf7z+cX9tPstzfUk05/YLpizZ5dcbshF9 BA06vOccwDbeA7WIJVqcZ0feaca1dY3dAc224jx3qgFpbvx7kaMNxanONTNoZC/rHsHhoeGuv gwZfjEgxG+IwOX/cm4Y69F1FeQLihY/4ncBDyDC0BA8XN1+v5K6RZ0Z8NIjxzeB6xCN0hXU77 z8eBK53EcUrSRM= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646916246; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=vXR+cmDbspLxVObzPuRFHTDgzLJMXtxCI25ANc1sQIs=; b=cCYV9TSRlf4slcyJj4/IOLaMWncdgGHfFbvbUilvzOdr/RkB1tCZm/JREIdK/AVBR1MSqz kPg6vbTvNAx8VohssMH333cQyu8qrn6/GlOKg/Kb23BfziapJOIUFy6R6xcaQu6IBH6dKN x4+gTsHwrwWN00BZ1BfvF3Yz0Kj4+M5xjVw3GSDD1zMyAHmioBz6uDlBO+obUYQbMrPdJr cEWHdFA8P1CIXR/yFOxNthfzUSfmZ0vkI0bU/tCuW4OWkvIfHcQKY02tMQj9vAPGzNisMj ZpnKv41A5ELXFiGpoxolXg4K5K09sI50A6wZxTM1pSsZ3DsOcW3GrgAUlJrX3A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646916246; a=rsa-sha256; cv=none; b=S1FmZFri/l0O3eGwEaQTyxO4i74AevH/5D4qezZHyqjsO93MRnI6Shrlgb+vVRIlxE1Pm1 Uocl70USbV9WmljvmsopDGrOrlKYDH5qHpBCACo7/udTvlTuwyCJlY6+TuTq1Y2yiUEq+5 jcp2pD0i2ZICncMY6h4q/ObFYU3JwQRW6E7P3yeImYKnJ+XfTJJh4i96lNHjpGk9l+XSyd fVMGQuyCrR57G5OBThGHzyCv182E/c24TnXFDlKyCpnQjzlOW5Q6JUaVgTgmTksGzx4njD OF3Lw8vXbk/LEryeC0VzFFCLPyiWnhSPGPOnuOprh6PX7Ltkl/XJI/YuKosIcg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=dnNtAuKw; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 3.20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=dnNtAuKw; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AC2202FD75 X-Spam-Score: 3.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: xxcDnM760bN2 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Maxime, Thanks for taking a look! Maxime Devos writes: > [[PGP Signed Part:Undecided]] > Pierre Langlois schreef op wo 09-03-2022 om 13:46 [+0000]: >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 `("g++" > > Wouldn't the cross-compiler be necessary here? Yeah it should, I've not yet implemented cross-compiling support in this build-system yet, but I'm happy to do it! Before continuing to work on this build-system though, do you have any opinions about adding it to begin with? As opposed to the current approach of defining a base grammar package (see tree-sitter-c) and have the other grammar packages inherit from it. I'm wondering if it's worth adding the build-system, when I don't think we should expect the number of grammars we would package to grow too much. But then again, the package definitions do look quite a bit nicer with the build-system, so I'm a bit on the fence about this :-). Thanks, Pierre --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFMBAEBCgA2FiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAmIp4kgYHHBpZXJyZS5s YW5nbG9pc0BnbXguY29tAAoJEKj8nkR/T31UHuUH/jZ3h6qi5xZVtDlUXssaPKdD eU7Z3RR/sjxpmlIX12BR/OuFhzs9A/VNN0Cdstg/QSUi/HfdwAZKe8WziSP51wZF I0ztihtC12N3HcADWG2PJBz0xpFUkSZqbcTBIlLc0M4hhkEMLqyQ/JrGH0O5En1e u+RO2+LlaN9RS0g/+hTjPjE1HJpjNpFVX/anPX7Zoyn5kePaL16UJRomLD538X20 BpsLtvA4pu8OxZ/80zLqcGtxS/M4GPUoqTTuIdxPfiVSog6Rav3W8xdJqZ3L1VQX 2Hc6EEFQini2E7w976PD0WVtBBMLoaaCoRIMQC9gA0Jwa7oiVF8qh9BGXsZKAkk= =BxcU -----END PGP SIGNATURE----- --=-=-=--