[r6rs-discuss] Interpreters need not apply?

AndrevanTonder andre at het.brown.edu
Wed Mar 7 12:13:11 EST 2007


On Wed, 7 Mar 2007, Aubrey Jaffer wrote:

> A pure interpreter like SCM interprets LET, LET*, LETREC, DO, COND,
> CASE, and QUASIQUOTE directly; they are not rewritten in terms of
> LAMBDA, IF, and BEGIN.
>
> But your code rewrites these constructs in terms of LAMBDA, IF, and
> BEGIN.  So it is compiling R6RS to some subset of Scheme, which would
> bypass the optimizations SCM has for the derived constructs and reduce
> its speed.

It is extremely trivial to modify my expander to target a different or larger 
set of primitive forms.

Andre



More information about the r6rs-discuss mailing list