From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpout01-ext4.partage.renater.fr (smtpout01-ext4.partage.renater.fr [194.254.240.31]) by sourceware.org (Postfix) with ESMTP id 8B7DC3858D37 for ; Mon, 29 Jun 2020 22:52:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8B7DC3858D37 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=oca.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=damien.mattei@oca.eu Received: from zmtaauth01.partage.renater.fr (zmtaauth01.partage.renater.fr [194.254.240.25]) by smtpout10.partage.renater.fr (Postfix) with ESMTP id BD338617BE for ; Tue, 30 Jun 2020 00:52:40 +0200 (CEST) Received: from zmtaauth01.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth01.partage.renater.fr (Postfix) with ESMTPS id B50AA140009 for ; Tue, 30 Jun 2020 00:52:40 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zmtaauth01.partage.renater.fr (Postfix) with ESMTP id A68B61400EA for ; Tue, 30 Jun 2020 00:52:40 +0200 (CEST) X-Virus-Scanned: amavisd-new at zmtaauth01.partage.renater.fr Received: from zmtaauth01.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth01.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id BgcOslN53ZWZ for ; Tue, 30 Jun 2020 00:52:40 +0200 (CEST) Received: from 90.118.246.130 (unknown [194.254.241.251]) by zmtaauth01.partage.renater.fr (Postfix) with ESMTPA id 6849E140009 for ; Tue, 30 Jun 2020 00:52:40 +0200 (CEST) Subject: Re: Reader handling of the @ character To: kawa@sourceware.org References: <2def4fdf-cc77-3df6-b91c-2e7b4431b841@bothner.com> From: Damien MATTEI Message-ID: <0e509794-80b0-e340-3f05-67ea146e5d00@oca.eu> Date: Tue, 30 Jun 2020 00:52:40 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00, BODY_8BITS, KAM_DMARC_STATUS, KAM_SHORT, RCVD_HELO_IP_MISMATCH, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: kawa@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Kawa mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2020 22:52:46 -0000 thanks, my mail was intend to be in the mailing list. Le 29/06/2020 =C3=A0 16:05, Per Bothner a =C3=A9crit=C2=A0: > On 6/28/20 8:04 PM, Per Bothner wrote: >> This seems to work: >> >> (define-syntax test >> =C2=A0=C2=A0 (syntax-rules (|@|) >> =C2=A0=C2=A0=C2=A0=C2=A0 ((test @ x y z) (list x y z)))) >> >> The --r7rs flag also works. >> > > In private email I was asked about |@| and --r7rs. > > The slice operator > =C2=A0=C2=A0 @expression > is converted by the Kawa reader into: > =C2=A0 ($splice$ expression) > > The vertical bars in |@| makes @ into a regular > symbol and disables the special treatment of the @ character. > > The --r7rs command-line flag disables Kawa extensions that > conflict with strict R7RS compatibility: > > https://www.gnu.org/software/kawa/Options.html#Options-for-language-sel= ection=20 >