On Sat 07 Jan 2012 02:56, Eli Barzilay <[email protected]> writes: > FWIW, that's true -- and a reason that I plan to change what xrepl > (our command-line thing which I added to Racket recently) so that it > intercepts any line that starts with a "," which means that it would > work no matter what the actual language reader does with that.
Guile's REPL does do that, yes. I think that Noah's proposal was to pun the ,language command so that in a file, instead of #!lang r5rs (eval '(+ 1 2) (scheme-report-environment 5)) you could have ,language r5rs (eval '(+ 1 2) (scheme-report-environment 5)) Cute. I guess it would work if we changed the reader, for the same reason that it works at the REPL. Cheers, Andy -- http://wingolog.org/
