From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpout02-ext4.partage.renater.fr (smtpout02-ext4.partage.renater.fr [194.254.241.31]) by sourceware.org (Postfix) with ESMTPS id F31693858432 for ; Mon, 13 May 2024 22:20:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F31693858432 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=oca.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=oca.eu ARC-Filter: OpenARC Filter v1.0.0 sourceware.org F31693858432 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=194.254.241.31 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715638810; cv=none; b=sFkVdylaw2ElIe3MKW2PlKtnLTIPnM5mUK+o+S2rd0QsbPiiexNw0aOsqKuLFDBh/sRytansJTyTADw06XXAmigUkPFkE4IQX6bLwdT1S3/s3GB0uVGnPTJm3/unCA28JWIim6izse0Ou10LhgN2O38aRUln0rL+lV7CtrPtBZQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715638810; c=relaxed/simple; bh=oxP1F91hiBOhx/T20ipUr7+rX1tiohhoYOZnEgOCnUE=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=hoNc32VgyLsCrzWEkE2QW+cuHtxs7QV2BG0EqBbZK90x5y/y8MhWeM9p/h11Ac4dp4xOzbuesujsgkDidL5kN68alO4pjAYmDePVH4Ld0ALkSXHxUQ9ubAOozudKR+2YSLc5JJXaqXoVwDtW5DG3E8R7dJJ/D4HrYctVJNa23yY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from zmtaauth02.partage.renater.fr (zmtaauth02.partage.renater.fr [194.254.241.25]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id 3F8A6C09D2; Tue, 14 May 2024 00:20:03 +0200 (CEST) Received: from zmtaauth02.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTPS id ECA30A071D; Tue, 14 May 2024 00:20:03 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTP id DB40BA0772; Tue, 14 May 2024 00:20:03 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth02.partage.renater.fr DB40BA0772 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oca.eu; s=51688159-7048-4452-88B4-FE5A10886D87; t=1715638803; bh=oxP1F91hiBOhx/T20ipUr7+rX1tiohhoYOZnEgOCnUE=; h=Message-ID:Date:MIME-Version:To:From; b=K8Tkh12cagBIJaZuoa/c6ZUzvguXMsDVSBL//ux2EiQvb4AdVAjW4RP6+wjmm3Dx/ W8gIy7MruAL0TLPidvMC1tJA9Ftc4OUfOBlCVulutAXUnI8X4ebAsHj4il+Llvx9uf mA/wIr3cmvdK9PiuhygDT7FnEn5yubGvrGoY9cYlQCyXPFxKkOOIhEIu3DGY6+Jxth /PP/+jAcFD/+pEeU1WwQnBN5ofqcb5JMtT6BDDdd3LZ2V/Xc7enAKTK/766QFIGj+C O15Mrqkv9J9HQmdfth9Falp7+I6DlEPQVMeuxzrgITkkLhocI5dErCIiJjtEoDPDjf 8bycM7CG6TRKA== Received: from zmtaauth02.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth02.partage.renater.fr [127.0.0.1]) (amavis, port 10026) with ESMTP id w4JTrgHaqEHa; Tue, 14 May 2024 00:20:03 +0200 (CEST) Received: from [192.168.1.12] (unknown [194.254.241.250]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTPA id 79027A071D; Tue, 14 May 2024 00:20:03 +0200 (CEST) Message-ID: Date: Tue, 14 May 2024 00:20:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: Damien.MATTEI@univ-cotedazur.fr Subject: Re: syntax? in kawa/scheme To: Per Bothner , kawa References: <36548656-ba14-441d-8467-1e08f6e83194@oca.eu> <217f6a16-554d-4723-b792-d1ff16893b15@bothner.com> Content-Language: fr From: Damien Mattei In-Reply-To: <217f6a16-554d-4723-b792-d1ff16893b15@bothner.com> Content-Type: text/plain; charset=UTF-8; format=flowed X-Virus-Scanned: clamav-milter 0.103.8 at clamav02 X-Virus-Status: Clean X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: 0 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvledrvdeghedgtdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecutffgpfetvffgtfenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfghruffvfhfhjggtgfesthekredttddvjeenucfhrhhomhepffgrmhhivghnucforghtthgvihcuoegurghmihgvnhdrmhgrthhtvghisehotggrrdgvuheqnecuggftrfgrthhtvghrnhepheehgfffgfdtgfejfeffiedtkedvgffgvefhtdeutdegvdeuiedujeefhfekudevnecukfhppeduleegrddvheegrddvgedurddvhedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudelgedrvdehgedrvdeguddrvdehtddphhgvlhhopegludelvddrudeikedruddruddvngdpmhgrihhlfhhrohhmpegurghmihgvnhdrmhgrthhtvghisehotggrrdgvuhdpnhgspghrtghpthhtohepvddprhgtphhtthhopehpvghrsegsohhthhhnvghrrdgtohhmpdhrtghpthhtohepkhgrfigrsehsohhurhgtvgifrghrvgdrohhrgh Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: i modify a SRFI 105=C2=A0 curly infix parser to move some function toward= s=20 macro, then to pre-parse the code on the fly at the pre-compil stage of=20 the macro,then use the pre-parsed code in the expansion phase. Finally=20 the run-time execution of the generated code will be faster as no=20 parsing will be done at this run-time phase. (exmple : a mathematic=20 formula is known and will not change at run-time ,the infix to prefix=20 operator precedence algorithm can be applied before runtime) . Prior i=20 parsed s-expr now it will be syntax expression, the logic is the same=20 but the code will change, instead of procedure or quoted procedures or=20 form it will be syntax objects. For the operator precedence i need to be=20 able to compare equality of some operator in a syntaxic form (like #'*,=20 #'+ etc...) I admit as there is no native curly-infix srfi 105 in kawa=20 it is already done by a parser in command line. (this more easy in Guile=20 but very few scheme implement SRFI 105 anyway so i will reuse this code=20 in the future) Le 13/05/2024 =C3=A0 23:47, Per Bothner a =C3=A9crit=C2=A0: > Ce message provient d=E2=80=99un exp=C3=A9diteur externe =C3=A0 l=E2=80= =99universit=C3=A9 (adresse :=20 > per@bothner.com). Ne cliquez pas sur les liens et n=E2=80=99ouvrez pas = les=20 > pi=C3=A8ces jointes si vous ne connaissez pas l=E2=80=99exp=C3=A9diteur= ou que vous=20 > n=E2=80=99=C3=AAtes pas s=C3=BBr du contenu. En cas de doute, merci de = transf=C3=A9rer le=20 > mail =C3=A0 abuse@univ-cotedazur.fr > > > On 5/13/24 1:36 PM, Damien Mattei wrote: >> but in fact my problem is to test equality for 2 syntax object and i=20 >> can not use equal? : > > Why? What are you actually trying to do?