From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eJt6Dfj+gGKltwAAbAwnHQ (envelope-from ) for ; Sun, 15 May 2022 15:24:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CMZ1DPj+gGLZ3QAAG6o9tA (envelope-from ) for ; Sun, 15 May 2022 15:24:08 +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 AB560229CE for ; Sun, 15 May 2022 15:24:07 +0200 (CEST) Received: from localhost ([::1]:37428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqEEA-0000lz-8r for larch@yhetil.org; Sun, 15 May 2022 09:24:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqEE6-0000lp-K4 for guix-patches@gnu.org; Sun, 15 May 2022 09:24:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54875) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqEE6-00083x-Ah for guix-patches@gnu.org; Sun, 15 May 2022 09:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqEE6-0002NH-6w for guix-patches@gnu.org; Sun, 15 May 2022 09:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v5 01/27] gnu: tree-sitter: Move to its own module. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 May 2022 13:24: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: Maxime Devos Cc: Pierre Langlois , 49946@debbugs.gnu.org Received: via spool by 49946-submit@debbugs.gnu.org id=B49946.16526209839054 (code B ref 49946); Sun, 15 May 2022 13:24:02 +0000 Received: (at 49946) by debbugs.gnu.org; 15 May 2022 13:23:03 +0000 Received: from localhost ([127.0.0.1]:48772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqED9-0002Ly-0C for submit@debbugs.gnu.org; Sun, 15 May 2022 09:23:03 -0400 Received: from mout.gmx.net ([212.227.17.22]:48965) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqED7-0002LI-1w for 49946@debbugs.gnu.org; Sun, 15 May 2022 09:23:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1652620974; bh=QCnU0piBfFH2BQac7OEEQ7pzBgH4qPF3zN6kqOLDYS4=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to; b=kyVNVhwhk1vCGZ7ohsD/ZkBoVuoRUQeG+d6aO5iPCy91jOyNv1OKM9KyGF/Y+E3oZ iNvRJY7Ww+wPdtNR5iOJjXh7ehIVctgA6D6HwILbeC7fmPlvpLxpwbHFW9/ssesJ5K 2nNi52wlvZg/YpLfFcNj46+I2Z7Yz9cULY0sUpBk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([82.69.64.142]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1N4hvb-1nj6i11xX5-011fpZ; Sun, 15 May 2022 15:22:54 +0200 References: <877d9s2qa9.fsf@gmx.com> <20220329194318.6106-1-pierre.langlois@gmx.com> <20220329194318.6106-2-pierre.langlois@gmx.com> <7d5f974bd32fc3169cadf2ae0cd6194ddb9a080f.camel@telenet.be> User-agent: mu4e 1.6.10; emacs 28.1 From: Pierre Langlois Date: Sun, 15 May 2022 14:16:35 +0100 In-reply-to: <7d5f974bd32fc3169cadf2ae0cd6194ddb9a080f.camel@telenet.be> Message-ID: <87pmkf3p79.fsf@gmx.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Provags-ID: V03:K1:vKnMBjReNwmgpSaZcpgeJ8WFqwiFstV+Sw5fo0yZGO+JJTgse/z 3nQyiqwMt7vAUvNYi6W/5mDQdD008OHemcZRfGaEaNIoGfuNY9x/PpVRKPvzTfHIJtQCHYf usa4bC+FjBEaWtnsF9AVtl0b0shxsKivgdqaXBH9qfNWJW6WRD5/C9gneadOsgQKkSGyrPJ a/z07sZz8u7bAWWVkNh9g== X-UI-Out-Filterresults: notjunk:1;V03:K0:TrhNT4qgPdY=:4b2KPKvfzzPT2BThHc1GsJ 9nrtvWwnI5wq7mRq/Kkx7QpKJzQBTSdNBSI2N5rX1NvhN+3q+wOP7+7YSazwOf6x0ee0VblkM fWC8Grmt0wIZMdB6k7wKMdAPz8BfPnJOgPxRjMNCFGpFOsyMN5WZUokG4gsnDFbhQNS0LX8ss IlUZRRR0aTpp79U5ob09EYiDWTbhACIGsO9e2Mwt5qDj8OPPpxPrD8PaLAnJEMyePCCKv5695 nN68GhpTFyWbYV5y78OV8mnRKOcm6JJcwIVNZgT3KOX0CqFC4rqbXscqaV7J3Wy/TFxGkekfg 1UQbD+yB7w8aaFyddBZSwajHk2UoH8P7karrKO3WQSE34RpMEBzmtwJ9+xnGO8+4MXbtUVnKn qwNuyb00ZiyLrFSCWxbYsYl9RVqPVz/00QZCGoveFexfWEhSW01yn5tYXinnmC7vpKejgdBBV 95YB68x1JwPJP/Nife2aEIzXVu0eGQ1GEO8KPJiJUGa8Ax6FWlgksqQJ9pt+PgDMsF0HBkZLl VA+Uuzxf4n0XqgRxRXwWudHyLqxDJZHs9q0ZM7lilWnacGilvRz1yWNjb2CjyP2Z3P5jDRzIw nJPOm/eXBrZEpuNsBfEtwkx0vZXo92KD7jVOfPUt4oIBY/JYQtfe4Ejm1eQcpqsVBQik5VVEI Ilk7KV7rB4h7aMRdiH/fSYX436hEP9xtw9v3c6e6XfYi8chrM6rJxmvrkrnYP8b+HEsyDAr8C oS/QzX0e3yziPNTcr3mYD/auyweHBvjAx3ghfkrgev1KZLXA64IwbTgbYxbzX1jGD8xPgBfoH pqigdXSlnCt0cbx7a828rFX6ZgekPkaGFnd1mgYtsQB+Z1P9cE/iI7IxiaQeHis5PeXSifk// d7WAMyPICGOdAmfTf7z61fmXJ5mBFy3WPx3oGWD0m5fZGZg8cPtDTuK1cCWURLtQfkX+eczy+ 4cOeqvZQKUY0L/kLlcj+ChBUq1Pk7ArTCkeFiOTYbKDH9fUBg35CI+9WulPyPI3oqtjgttNOC T1GBmSbVbyKnPy6pzQk745SnJXvvmZTi7dXtRPkVmNWst52FhZHeyNS11fHltd16bXNpaMtrS nTr+I5T3yXf8f8= 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=1652621047; 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=QOzywX3TO1xhhIN2qn5BY5/CZOzP6RAaVsKIBwssbyI=; b=BmtAQbc/GVr10Qf1+YAOWkl7ZvgYkKeQSMFu+vXtjCiVCvcZViSvoK+0SAmAZzH8ae2eeB Uva3KaJ4gm/qI28aFtyrokMlH9sxI61Vn0OIEZ1utJfu400aNi0xxoYYf8c4Y2bAWAmuab b03dGPgpLqZSEXe0qxlYG8kmJszbes/0PDAqDeO1xbeNgVjxsAl10puKr2OuuhrvP1bX1p Rwg0i3OlcAeX4WaOsBQ63iHlo8ka4Bc6T6Oc9Ld532HrVHOrii6L7xa7U8SQDbBWMJRt9q aD871faR/Nj5SG1o2NIXulj8huOQMQOTMKgmjPkkZ3AcLn1wenuVDAV7UVwBvQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652621047; a=rsa-sha256; cv=none; b=QN8twSdRaH05+Bi1pw4f8qWtjz46VOWltkc3PKOGeqcLB9IdJXNf2AEceiOZBl7d9XG+TA MQwmRLs4UkLsLkARl8t4BFG42xW1TOn9jtPJEbYpPvJER9bG+uIXxsaRFjcGQU2PH/Fh6O /gKmJlH7oRSJoJNUi7CpB02iZpXqDZwW+Q1bQD2LIou/TnIg5Jih6uUHPLnvfHVvSriSsd LZF0grvr9xFZBcnyvs3zT2q6z3a7JaN0CmZ4FcUPZjrnb0yO4EUB/Y/LSrW8EjteOtlqFi TPpjRK9RlmlJlvy4Y6lxjJRxe6R4TBP3RsjBl+xTk6qmmD5kf03MtO+Kdvgh9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=kyVNVhwh; 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: 2.57 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=kyVNVhwh; 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: AB560229CE X-Spam-Score: 2.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: WzyujqiXFcon --=-=-= Content-Type: text/plain Maxime Devos writes: > [[PGP Signed Part:Undecided]] > Pierre Langlois schreef op di 29-03-2022 om 20:42 [+0100]: >> -@item Dependency-free so that the runtime library (which is written in pure C) > > It probably depends on glibc library, so strictly speaking this is > probably not technically correct ... but maybe good enough? Oh actually, looking at a generated parser.c file, that statement appears to be true, I was also surprised. The generated C code looks like a huge table of rules, so it's more data than code really. For example: https://raw.githubusercontent.com/tree-sitter/tree-sitter-c/master/src/parser.c I suppose it was easier to generate C code and compile it, rather than define a custom binary format. Thanks, Pierre --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFMBAEBCgA2FiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAmKA/qoYHHBpZXJyZS5s YW5nbG9pc0BnbXguY29tAAoJEKj8nkR/T31UJZIH/0kHz9qxm02VJ0fldDJHp0Gp qxtEiFP8tSYDURGTyWj0LFWw0bozSeEm1R6IFfFRMly8bwF2RF6kGNbBq/wtS7t7 solVLlQnYF0pjgxf1UwXawN0MXlFrbRUGYXFBTmzNdpvPUN9bF1CwUgAci/5C8eC yaPtgXrT/wdz7h+MhdkrzVWLXKRlCMI/FEYVvEYE/1ApaR2+QcyUNW36ASB+uevM but+ECGWO+QIcRh2D6JI+ehym53ScE+LABhFpSSDFZpGMAf9hMTyTaQu6jzMxsXE x9I0VzSDBPE91xFmr7lbYHQvMQVBGLw0DXLND5ACD1FhduzV3HtJpopan7qeT1o= =d2qD -----END PGP SIGNATURE----- --=-=-=--