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

_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss

Reply via email to