[R6RS] Internal DEFINE vs. macros

Matthew Flatt mflatt
Fri Apr 15 09:12:24 EDT 2005

At Fri, 15 Apr 2005 08:09:27 -0500, dyb at cs.indiana.edu wrote:
> Chez Scheme processes body forms from left to right and adds macro
> definitions to the compile-time environment as it proceeds.  It looks like
> PLT Scheme doesn't add the macro definitions until after it has determined
> the set of definitions.  In both systems, define rhs expressions are
> expanded, along with the body expressions that follow the definitions,
> only after the set of definitions is determined.  I would guess that,
> in PLT Scheme, the first non-definition is partially expanded as the
> set of definitions is uncovered and must be completely reexpanded after,
> which isn't necessary in Chez Scheme.  In any case, I'm sure we can iron
> out the differences.


This is the difference that I had in mind in the last part of



More information about the R6RS mailing list