On 09/13/2009 10:07 AM, Abdulaziz Ghuloum wrote:
>
> On Sep 11, 2009, at 7:59 PM, Andre van Tonder wrote:
>
>> As far as macro expansion is concerned, I contend that the choice
>> between one-pass or two-pass is really arbitrary.
>
> Can we clarify the terminology here please:
>
> * one-pass: each definition's right-hand-side expression is fully
> expanded (and macro definitions are expanded and evaluated) before
> the expander moves to the following definition/expression in body.
> [the repl /must/ use this because it does not have access to the
> whole program]
Not necessarily. For example a REPL can defer expanding a lambda
body until it is called the first time.
--
--Per Bothner
[email protected] http://per.bothner.com/
_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss