From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id kBR/NtuCC2ZNEQEAqHPOHw:P1 (envelope-from ) for ; Tue, 02 Apr 2024 06:00:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id kBR/NtuCC2ZNEQEAqHPOHw (envelope-from ) for ; Tue, 02 Apr 2024 06:00:27 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm2 header.b=muAPehFV; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="b K24yK2"; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712030427; 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: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=DvnjVv9yp1/PUwbeJRECgEr/oVNr0ebCKtGBEGXtJi4=; b=ouXBRaEEEDQ67HvJMBNblBrS0gaU7cIpc9WojT/Tu/uHEW+uRtLVm9ZMPweiEW8a2a2mM7 myele+TADXf9ZoNSUlr4cplYOIRU42Ku480fGen+N/YKJRn3tCPUXWC1SloELCFoa9btzV nmA4r6T+fcXhCfdZ/Bwy2p/uy3MFnbzdGcY75sTYOpOEQ+zf518wBsc/nDaOxUahl2xZvn aMUsHb0eof+H3uL2LB/uO0afY0Sw3gQ3RHQojwFQ86FbQ+kE+bvaBBAaw4qY0Lxlo4TsG0 fo3gjWCbc3PqbFe9fhBw9nicjNs+cQJ3E2J9BAuDX2GbuhU8i1h45DpBXe+rfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm2 header.b=muAPehFV; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="b K24yK2"; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712030427; a=rsa-sha256; cv=none; b=h/ovjHDm0/WC797YsoYSrvFBApzjnP/JZuvUIAFNN0d3XlgH8ljwJ9xSHurmgQ9QQRGI3C uzr/GwCr1tnoWCVhYVVOpjrEF694JNJBrLqF0HZ3DoaYzluTyydVif/ahcCBn8ySs6cGe6 GK49Nj8oK4yJ8zIQFaUjF1oX+qWiHdfwWfLxE6mh2f1NG/KEg4LnoA/sBxgg1f6rFp3MT3 yzuLKqLUwDkXiuVXksI+imOhhVZy9oNNECvDDp5NXGzQwMfp7Ww9MRP8YibJWfOUSt8sXC c02Pce0BSVZApd3TZdnCuNO3OL4ei6rXciiz4WfjOsqXyLFTYvMOu+tla0Fm3Q== 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 95727C6C7 for ; Tue, 02 Apr 2024 06:00:27 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rrVJa-00051d-B1; Tue, 02 Apr 2024 00:00:02 -0400 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 1rrVJY-00050i-5g for guix-patches@gnu.org; Tue, 02 Apr 2024 00:00:00 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rrVJX-0005Jj-UB for guix-patches@gnu.org; Mon, 01 Apr 2024 23:59:59 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rrVJb-0004bi-Cj for guix-patches@gnu.org; Tue, 02 Apr 2024 00:00:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70065] [PATCH v2 7/8] gnu: chez-scheme: Update and simplify machine-type handling. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 Apr 2024 04:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70065 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler , 70065@debbugs.gnu.org Cc: Katherine Cox-Buday , Andrew Tropin , Skyler Ferris Received: via spool by 70065-submit@debbugs.gnu.org id=B70065.171203036717505 (code B ref 70065); Tue, 02 Apr 2024 04:00:03 +0000 Received: (at 70065) by debbugs.gnu.org; 2 Apr 2024 03:59:27 +0000 Received: from localhost ([127.0.0.1]:52025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrVJ0-0004YG-DG for submit@debbugs.gnu.org; Mon, 01 Apr 2024 23:59:26 -0400 Received: from wfhigh4-smtp.messagingengine.com ([64.147.123.155]:41491) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrVIy-0004Xn-7m for 70065@debbugs.gnu.org; Mon, 01 Apr 2024 23:59:25 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfhigh.west.internal (Postfix) with ESMTP id A924C18000A9; Mon, 1 Apr 2024 23:59:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 01 Apr 2024 23:59:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1712030354; x=1712116754; bh=DvnjVv9yp1 /PUwbeJRECgEr/oVNr0ebCKtGBEGXtJi4=; b=muAPehFVc+XV060buFdAbrmi/z /wzvWzMmyqoBYrGNkPoc+5xl/OYtogR2mGb2YkKNXmBfB5oas80fDblU3g3TDtUk Z1L6sMk486/Nr1JcahBmG7TssvADVQVg9lAuEypq5PSNX/M61fZbj0uSjN27ki/N GLi5VjUwP2x/9VXvDKup96JR+4Ge0UpHJc3corXTGNghd/yDebWaqySxNFaDYXJw XYHflf9xhWPoDMJaPkHjO/3RwWXgugGuloMa7RUU0sJh9eEoTXUyWuQSDtRc06qB qtrHbYxcRGRb+zgwpVazcNWG285S5rdjaRqAx+37aM6g6mHGWMsiyhSfkKyA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1712030354; x= 1712116754; bh=DvnjVv9yp1/PUwbeJRECgEr/oVNr0ebCKtGBEGXtJi4=; b=b K24yK20MxFaUw00qsMwErbr3iMh6uM5uZZitD7jvLSsXXby3+7p672I+RDbCYrPR j+tecAJ+bkiJa9cX6hsNemfzRjgIyOPSwOpANxHo4yKRWf6ndxdFddq7xeYV2DNe eBGJwPpi5XEDdi7t2yfkY4ZwGQQT6477lEOLbKf0sFbXiIU7TD5K96kclKZ4NHOO 0PYQC4+lFqFMFUt8B8NstJStr9RXeDNTGJznStaAVTbULVz1zL26inZCylM3rYqa hF8U7MD7C2vl2i65RqFVD9KLqNDvkbJI9XZNy3SOH0OWClgQhWVbzXUQS2r1v3yQ 2ws6T+RdtYp0jK9/5uhow== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudefuddgjeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpefrhhhi lhhiphcuofgtifhrrghthhcuoehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtg homheqnecuggftrfgrthhtvghrnhepieehgeehgfdvfeegvdejtddtkedvkefhheejieet iefffeehhfevtdeiveevteegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepphhhihhlihhpsehphhhilhhiphhmtghgrhgrthhhrdgtohhm X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 1 Apr 2024 23:59:13 -0400 (EDT) Message-ID: <4efc12ac-8772-4173-8076-49aaddc84aac@philipmcgrath.com> Date: Mon, 1 Apr 2024 23:59:13 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US References: From: Philip McGrath In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 95727C6C7 X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -0.24 X-Spam-Score: -0.24 X-TUID: 9bKenUTX1Jf4 Hi Liliana, On 4/1/24 11:45, Liliana Marie Prikler wrote: > Am Montag, dem 01.04.2024 um 02:51 -0400 schrieb Philip McGrath: >> Since Chez Scheme 10.0.0 supports all of the backends added in >> Racket's >> branch, the complexity of '%chez-features-table' is no longer needed. >> Ideally, even more of this logic could be maintained upstream, but >> this >> change will simplify maintenance in the mean time. >> >> [...] >> >> +(define-syntax define-machine-types >> +  (lambda (stx) >> +    (syntax-case stx (any) >> +      ((_ any id0 id ...) >> +       #`(define #,(datum->syntax #'id0 '%machine-types) >> +           '(id0 id ...)))))) > The datum->syntax call here looks weird. It is a little unusual. The goal is to be able to copy the *use* of define-machine-types directly from the Chez Scheme source code, making it easier to update in the future. The datum->syntax call is needed to synthesize an identifier that will bind in the surrounding context. >> +;; The following is copied from s/cmacros.ss, line 36, in the Chez >> source >> +(define-machine-types >> +  any >> +  pb        tpb > You should maybe comment ;; unthreaded threaded I wouldn't mind that if you think it would be useful, though I'd rather not do a v3 just for this. If someone does want to add it, I'd strongly prefer for the comment to outside of the define-machine-types S-expression so the use stays exactly as in the Chez source. >> +  pb32l     tpb32l >> +  pb32b     tpb32b >> +  pb64l     tpb64l >> +  pb64b     tpb64b >> +  i3nt      ti3nt >> +  i3osx     ti3osx >> +  i3le      ti3le >> +  i3fb      ti3fb >> +  i3ob      ti3ob >> +  i3nb      ti3nb >> +  i3s2      ti3s2 >> +  i3qnx     ti3qnx >> +  i3gnu     ti3gnu >> +  a6nt      ta6nt >> +  a6osx     ta6osx >> +  a6le      ta6le >> +  a6fb      ta6fb >> +  a6ob      ta6ob >> +  a6nb      ta6nb >> +  a6s2      ta6s2 >> +  ppc32osx  tppc32osx >> +  ppc32le   tppc32le >> +  ppc32fb   tppc32fb >> +  ppc32ob   tppc32ob >> +  ppc32nb   tppc32nb >> +  arm32le   tarm32le >> +  arm32fb   tarm32fb >> +  arm32ob   tarm32ob >> +  arm32nb   tarm32nb >> +  arm64nt   tarm64nt >> +  arm64osx  tarm64osx >> +  arm64le   tarm64le >> +  arm64fb   tarm64fb >> +  arm64ob   tarm64ob >> +  arm64nb   tarm64nb >> +  rv64le    trv64le >> +  rv64fb    trv64fb >> +  rv64ob    trv64ob >> +  rv64nb    trv64nb >> +  la64le    tla64le >> +) >> Thanks, Philip