[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Add support for R7RS syntax-rules extensio
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] [PATCH] Add support for R7RS syntax-rules extensions |
Date: |
Sat, 15 Jun 2013 18:21:48 +0200 |
User-agent: |
Mutt/1.4.2.3i |
On Sat, May 25, 2013 at 11:06:15PM +0200, Peter Bex wrote:
> Hi all,
>
> An important part of getting R7RS-small support into Chicken is
> extending a few things in core.
>
[...description of underscore wildcard and ellipsis quoting...]
>
> Strictly speaking, "extended" syntax-rules could be provided as part
> of an R7RS egg, but it makes more sense to add it to core, since it's
> just a small tweak and it improves compatibility with other Schemes
> which already support these extensions (like R6RS Schemes, and pre-R6RS
> Racket and Chez Scheme).
After some deliberation, I've decided that these extensions are silly
and don't belong in core. They can be cleanly put in the r7rs egg, and
strictly speaking they'd require a CR to go into core because underscore
wildcards are a gratuitous backwards incompatibility.
Besides, nobody is pushing patches anymore...
So, you can find a r7rs compatible syntax-rules in the r7rs egg and
this core patch can be ignored.
There are still some issues with the expander/module system about
which I'm unsure: currently you need to import-for-syntax r7rs
because chicken's syntax-rules gets seen otherwise and it will complain
about these extensions when you use them.
Cheers,
Peter
--
http://www.more-magic.net
- Re: [Chicken-hackers] [PATCH] Add support for R7RS syntax-rules extensions,
Peter Bex <=