(module repl mzscheme
(require (only "expander.ss" ex:repl)
(only "reader.ss" readtable))
(define mzscheme-eval (current-eval))
(namespace-require
'(planet "expander.ss" ("dvanhorn" "r6rs-expander-vantonder.plt" 2)))
(parameterize ((read-curly-brace-as-paren #f) (read-accept-box #f)
(read-accept-compiled #f)
(read-accept-graph #f)
(read-accept-dot #t)
(read-accept-infix-dot #f)
(read-accept-quasiquote #t)
(read-accept-reader #f)
(current-readtable readtable) (current-prompt-read
(λ () (printf "R5.97RS> ") (read)))
(current-eval
(λ (x)
(parameterize ((current-eval mzscheme-eval))
(ex:repl (list (cdr x)))))))
(read-eval-print-loop))
(newline)
(exit)
)