From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YCZnF3WXT2DaGgAA0tVLHw (envelope-from ) for ; Mon, 15 Mar 2021 17:20:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iGATE3WXT2BkTwAAbx9fmQ (envelope-from ) for ; Mon, 15 Mar 2021 17:20:53 +0000 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 C0A1E9A9F for ; Mon, 15 Mar 2021 18:20:52 +0100 (CET) Received: from localhost ([::1]:58886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLqtf-0004PN-Tu for larch@yhetil.org; Mon, 15 Mar 2021 13:20:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqj2-0004tb-A5; Mon, 15 Mar 2021 13:09:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47210) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLqj0-0003Bq-IC; Mon, 15 Mar 2021 13:09:51 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=46576 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lLqiz-0004zX-Nk; Mon, 15 Mar 2021 13:09:50 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Michael Schierl Subject: Re: [bootstrappable] Re: Can Guile be bootstrapped from source without psyntax-pp.scm? References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 =?utf-8?Q?Vent=C3=B4se?= an 229 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 15 Mar 2021 18:09:48 +0100 In-Reply-To: (Michael Schierl's message of "Sat, 13 Mar 2021 23:42:05 +0100") Message-ID: <87zgz4cpib.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, guile-user@gnu.org, bootstrappable@freelists.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615828852; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=QyU71q7yqeeP0qrdq2SZzcbYtRY2km96mxSjM1sDWlU=; b=SOs2bsZLZ3eF/mn7+j8QpvAhq2bTpEXcZZkXjv3+tZA6ZodFXw6XHotjhLRwhP/RVGjSVi K7bxP7abCWgxImQVAuPCYA9ZKGv7spcwsSap2JUeI1j6kpqL8ZbaFhJ4Al7MqhTiogHVGa tahPbYNOSSEEprcYsfaY684S5kXVfoj9JUaLWEAQxnzYviN7Si6DjzghwH8k49DkqjvMeZ vdIcHjf2WzHhDHqfuJg+cldZPl9IEft+IXmsAC1KWeFypmOXoxRJZP3Vx/l0Tt/KtXtN/W 6IPMfZ1XtiG3CkMyYpjzUPodkDMeSsmpsZqv2oGzG56KLKpVOVVkfs94HIZxdg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615828852; a=rsa-sha256; cv=none; b=fOexvcpvzbeAejLa/JlOkxmiw4854eJpn4BTjumsCirAlhH1nLjYVvgVuCTwmVv7R2y/ix y3bo0A/jddM5y0GyqWrvfxYgJCD0sF7cWvOpbQwzvYbmRkK6wTJ43PFyX4FQ7CIFn8zH6L KczQcbAyQdX1V1bQYU53M/xWSyIf31AEmtkpv1jdbiXbavYoacaGz/aF/Jm1kfbKSiKOZM p5YgySJhc1QDH6E62Gymb5gQz2ZjVNhiVug7EkAUYKOwzw1BB2foFxwEnefhKAs1oSYNgI ipdjGxPs94YIgGyTR4ANsTAApgj+BVBsngC81+HQmwKDIddl2WXxxl5ztyt5Qg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -1.90 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: C0A1E9A9F X-Spam-Score: -1.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: oPI57V+jX4Es Hi Michael, Michael Schierl skribis: > For the record, I have written a psyntax implementation that can be used > by Guile (3.0.2) and does not require an expanded version of itself. It > is not ideal (not fully hygienic and does not support with-ellipsis), > but it works well enough to bootstrap a slightly patched version of > psyntax.scm, which then can be used to bootstrap "the real thing" and > then regenerate psyntax-pp.scm (resulting in a bit-for-bit identical > version if you run the bootstrap on 64-bit Linux). > > The project is at > . > > It may still contain some unnecessary code, and the patch for the > patched vesion is definitely not minimal, but for now I'm glad that it > works. Woow, this is great news! I think it would be great towards importing it in Guile proper. To do that, I think we should first get Andy=E2=80=99s opinion on the appro= ach. Then you could try to integrate the files into the Guile repo and adjust the makefile machinery so that it uses this code to generate the initial psyntax-pp.scm. There may be additional things to look at, such as performance when building from scratch. We could still include the generated psyntax-pp.scm in the tarball, like we do for some .go files, for those who want a faster Guile build and are willing to make this tradeoff. Thanks! Ludo=E2=80=99.