On Wed 14 Dec 2011 22:03, Mark H Weaver <m...@netris.org> writes:

> Noah Lavine <noah.b.lav...@gmail.com> writes:
>> [(the-environment)] is just (call-with-current-continuation),

> In fact it makes me wonder whether `the-environment' and `local-eval'
> could actually be implemented this way.

This prevents the evaluator from running an analysis pass beforehand.
It would also prevent syntax expansion from happening beforehand, I
think.

As an example, Chez Scheme, if it uses the interpreter, actually runs
the cp0 pass (like our peval) before passing code off to the
interpreter.

> Regardless, this is a great way to _think_ about these primitives in
> terms that Schemers can understand, and maybe a selling point too.

It is an interesting thought experiment, yes ;-)

Cheers,

Andy
-- 
http://wingolog.org/

Reply via email to