[r6rs-discuss] Interpreters need not apply?
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
Received on Wed Mar 07 2007 - 12:13:11 UTC
This archive was generated by hypermail 2.3.0
: Wed Oct 23 2024 - 09:15:01 UTC