[r6rs-discuss] R5RS environments

From: Abdulaziz Ghuloum <aghuloum>
Date: Thu, 20 Sep 2007 14:59:21 -0400

On Sep 20, 2007, at 11:05 AM, Michael Sperber wrote:

> Abdulaziz Ghuloum <aghuloum at cs.indiana.edu> writes:
>
>> Since the R6RS draft changed the way cond, case, let-syntax,
>> letrec-syntax, and syntax-rules are parsed/expanded from how
>> it was in R6RS, which version of these bindings should be in
>> the R5RS environments? If it is the R6RS version of these
>> bindings, then the four identifiers =>, ..., else, and _
>> should be added to the null-environment.
>
> Except for _, I believe you're right and fix appropriately.

Bizarre. So, in the null-environment, everything behaves like
R6RS except for syntax-rules, which behaves like R5RS? And
the reason the null-environment's syntax-rules behaves differently
is not because it's a different macro, but because it doesn't
see "the-underscore". But then again, it won't be exactly like
R5RS's anyways because the patters language is different.

Forget about my ramblings. Who cares about the null-environment
anyways.

Aziz,,,
Received on Thu Sep 20 2007 - 14:59:21 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC