On Sun, 13 Sep 2009, Per Bothner wrote: > 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.
That would not be one-pass. Andre _______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
