[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hygiene when using multiple instances of a macro..?

On Mon, 8 Aug 2005, Keith Wright wrote:

It is then left to the execution phase of the reepl
(read-expand-execute-print loop) to evaluate that lambda
expression and register it in the *syntax-environment*.
Since the reepl always evaluates the top-level form right
after expanding it, this gets the correct result in the
end, but if you wanted your expand phase to produce an
expanded form that could be executed separately, then this
would be wrong.  You would want you lambda form evaluated
to a procedure and registered _by the expander_.

Thanks, yes, I also noticed that just two days ago. I'll propagate the fix to the next update.