From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 YGy6I41hQ2LrbwAAgWs5BA (envelope-from ) for ; Tue, 29 Mar 2022 21:44:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eHW1II1hQ2J2gQAAauVa8A (envelope-from ) for ; Tue, 29 Mar 2022 21:44:13 +0200 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 14D5218B7A for ; Tue, 29 Mar 2022 21:44:12 +0200 (CEST) Received: from localhost ([::1]:34586 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZHlD-0003Qy-D4 for larch@yhetil.org; Tue, 29 Mar 2022 15:44:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZHl5-0003QL-2u for guix-patches@gnu.org; Tue, 29 Mar 2022 15:44:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39731) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZHl4-0001Ai-R2 for guix-patches@gnu.org; Tue, 29 Mar 2022 15:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nZHl4-0004xY-92 for guix-patches@gnu.org; Tue, 29 Mar 2022 15:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v5 00/27] gnu: Add tree-sitter for emacs. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Mar 2022 19:44:02 +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: 49946@debbugs.gnu.org Cc: Pierre Langlois Received: via spool by 49946-submit@debbugs.gnu.org id=B49946.164858302118732 (code B ref 49946); Tue, 29 Mar 2022 19:44:02 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Mar 2022 19:43:41 +0000 Received: from localhost ([127.0.0.1]:33558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZHkj-0004s2-Az for submit@debbugs.gnu.org; Tue, 29 Mar 2022 15:43:41 -0400 Received: from mout.gmx.net ([212.227.17.22]:48835) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZHkh-0004rh-Cy for 49946@debbugs.gnu.org; Tue, 29 Mar 2022 15:43:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1648583013; bh=aPQx28B/hWpUGp3CXbMWuGjsJ0K6mkKAzj1bI74EHrw=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=E+NMBbgfBb7D4fowrMO7Zf0WDKE1wRBkNZ85zfeW9l/fxdzn9y8gImCfyBQzqUKr0 FqNU2aOSso+FhoAcKEpXGJsFspPcVoIkrzEVsDHNiLHbV5vcMkAX36Koryq+ee60KS dLL1zg+ligENNXDw/5LwMxD3br6aKjQ4mAct35xs= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1M3lYB-1nYSfe0Ldz-000x79; Tue, 29 Mar 2022 21:43:33 +0200 From: Pierre Langlois Date: Tue, 29 Mar 2022 20:42:51 +0100 Message-Id: <20220329194318.6106-1-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <877d9s2qa9.fsf@gmx.com> References: <877d9s2qa9.fsf@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Cll45YghO9blUYPXluYP7whyyp6G+aR62ypoJ9sAQSVuPAdw3kc ig7XoyMlz5e+FzgTsBKfnFZJiYWobDEA2kJ5FwOwCJdKhZrGvMIPfjdEr+CZ5u2f5KrA5IH 85EgSUbbXJGi3ogJM1AZsyAXLAL9vntsTkrRHmHfEeISFFatFoZWmIYyV1EqHrxLpwvpE8h 9T7DPfAkJCkq1lihG+3HQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:Mv3/nkHPKfU=:ctvUy5d7AJ88vvcF3/5uEs Qb3iwlEXeX/BqWndYmFU7s6g0LqXPuBfex7IDxBmiYuAT2x/2DNxj03+l2eduY6hhKIiJBWzP kZnyGPKQqOS3fFLX5H8cGATUDzE7xaFNO5RFaf19fOvfAGyf3Zyj/pcjlORTdMllhdUxlgZTR FqVk2sh4pjGeIkspD5IOoQj8N/iWfdPYCUbI5wm0LZEmjrRvOsIdoq2feXxClTodLbmXLsKVc ZPfczqv8GGZMbkFwalKWvE0W92z/tWdgU0LZVYuLdeR0pkN2Ev1QFwmnFPkMOq0OSog0YIXF/ jLbP0HYY0yG39pKr2j7+XBjyC1enf5u33QmmWR+rFHMb+2QXglaow+kVQPWLy+d++l8R1TAm6 AmMCb1P/NQwf6Pa9xAWQMFwfEVW1sktaE/aRIaaDF4S8MjaTj3YtDjKypy2sPOcwNku9WFPeO 8UZn7qXOiAWX6PVj1n47WosJbIa9jW2QE6KDRsww24cB9uPvg0HKJh9yM3bAVpomziIbxeEhj tbf//mHSV/eWjSck02oDcsvtEvz99w3x2fap1M01hMQsyFx2iTv2ft9hwxSVVQTkQtRvWjH2r U0Ve8A2uaZ/IntCKR1RrEsLqcRGbHq1hkifFRHVEJnzUrtL/JYnutFQxbtXoe9kxpp/cpgy/K C8Lm+z2w4fe1Ml4oZK92nxQY6InhZzrTwuCA2JFOV7w5Zf6v1iZihSpaw0QAMqryW9VU3Erhl fyndsXkmcz+eYUUbDSih0NnFaYneL3rNmvcbfwyBXVkM+v4+RvZ9XXDB33BytGZEoEE8s5sHB cnGoFO7qtr+KfqSg5vE6ssEv3dojFeHNPeI9zA15aS9cKK6ISZSh7KfhofUg5fi97Yz9LWXT5 HVH1tuqWBoXXMGPtyDuDnBeha3ztALhKTIDZE1CdsTVV7ugq/p0DEREyq21OlZ1OUPbi9NM64 2KV1clKj0fjXInD3D4Bs0sf8JUzJ4nTI2jmOhHB/7ZP7KC3hzo+HM/gLzfay6quAGK1FHq1+a 3XmKrtVOhrfkSrJRMxMLQQjy8aT7t41OlZedkwKJcMX9Ic+xPNLf/cUS6D5ySAtnHbeVf5fjE C0ht0r4q7QFWSg= 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648583053; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=hKa+2AbBcErGfB+AZN9tMH8VXEoF5N7rqRxoaryzOxo=; b=E86D2eR2slVvqqYmOOdphEcB79rtxnNVDSGaAtdSTRFpvjKy7cO+kBhFDhs63CcnMqwTtQ dndnMSnv3J7VltFyqzz5mKh5lIPvk0xPjxQs9O7KGYH1rwRBv+D9ahIAoXGo2hsTczG+vL n9K7gmyMHqzwKc+yucMYnKj4CGfEMt0Ug4aomu7Q2Qtx6heVa5nwJa66GlYBo8UZs9zEjv JkPbvpBEvAEgeNuggG6Zr0nrN9jKa21fXY9jlHdVk/NUJHVClZOr/T2yx1lCIeuZiG+Nkn dcWaLuM7WlCn+ElzP6OTa/uUgqpGMuCva2Esj8dw39vcASlTI98xetlzvxJ1sg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648583053; a=rsa-sha256; cv=none; b=WnSjwO0ll7k2c09ozQH5bkGyKKJ5v9QQoILjoeWRAbtBF0uvvypMdkdvKxiBO9VqUiE/HP oaHJsvNyquxHmq9+JlU043KBD5bSqstOee/23X5V0IP4mXMYsPZqECF4ie2rHJtP8EtAjJ coiForHp/HyftQyP2jmL0bWVL6fXSBXBI9VCXlyO2RTpnlkROw27VYxm3p5OBAnXcE/bhV vi0pmTBP9lD/9bbPjhGuhTKRdn3hCoWIDn9mYYFx0sd8GlOPZaYyYRg96li5UuK5dmGqJU 8bpwNSLS3LEyndtZWLoqHOt+JEQoPlVya1kZPirnXZg2AOW+oSZQ5Q+G2e7T5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=E+NMBbgf; 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: 7.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=E+NMBbgf; 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: 14D5218B7A X-Spam-Score: 7.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: yGSQn5eBa4I8 Hi Guix! Here's v5 of my tree-sitter series for emacs, highlights: * New tree-sitter build-system for building grammars, based on the node build-system. * Rebased on top of master, moving the new tree-sitter package in a new module. * Dynamically link to libtree-sitter.so from rust packages instead of bundling it. I think it's in a pretty good shape now, WDYT? Thanks, Pierre Pierre Langlois (27): gnu: tree-sitter: Move to its own module. gnu: Add tree-sitter-cli. build-system: Add tree-sitter-build-system. gnu: Add tree-sitter-c. gnu: Add tree-sitter-cpp. gnu: Add tree-sitter-bash. gnu: Add tree-sitter-css. gnu: Add tree-sitter-c-sharp. gnu: Add tree-sitter-elixir. gnu: Add tree-sitter-elm. gnu: Add tree-sitter-go. gnu: Add tree-sitter-html. gnu: Add tree-sitter-java. gnu: Add tree-sitter-javascript. gnu: Add tree-sitter-json. gnu: Add tree-sitter-julia. gnu: Add tree-sitter-ocaml. gnu: Add tree-sitter-php. gnu: Add tree-sitter-python. gnu: Add tree-sitter-ruby. gnu: Add tree-sitter-rust. gnu: Add tree-sitter-typescript. gnu: Add rust-tree-sitter. gnu: Add rust-tree-sitter-for-emacs. gnu: Add emacs-tree-sitter-core. gnu: Add emacs-tree-sitter. gnu: Add emacs-tree-sitter-langs. Makefile.am | 2 + doc/guix.texi | 21 +- gnu/local.mk | 2 + .../rust-tree-sitter-text-provider-fix.patch | 98 ++ gnu/packages/text-editors.scm | 52 - gnu/packages/tree-sitter.scm | 932 ++++++++++++++++++ gnu/packages/vim.scm | 1 + guix/build-system/tree-sitter.scm | 190 ++++ guix/build/tree-sitter-build-system.scm | 153 +++ 9 files changed, 1398 insertions(+), 53 deletions(-) create mode 100644 gnu/packages/patches/rust-tree-sitter-text-provider-fi= x.patch create mode 100644 gnu/packages/tree-sitter.scm create mode 100644 guix/build-system/tree-sitter.scm create mode 100644 guix/build/tree-sitter-build-system.scm =2D- 2.34.0