[plt-scheme] Running the SICP metacircular evaluators

From: Eli Barzilay (eli at barzilay.org)
Date: Wed Apr 15 07:03:33 EDT 2009

On Apr 15, Toby Gee wrote:
> [...] From suggestions around the web, it looks like running the
> Module language in DrScheme should be the way to go, but I can't
> make it work. If I try using #lang scheme, it gets stuck at the
> set-car!. If I use #lang r5rs, it doesn't know "error".  [...]

The R5RS language has a "back door" to import bindings from other
modules.  You should be able to use

  #lang r5rs
  (#%require (only scheme/base error))

to get `error' in.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the users mailing list.