[racket] Reader for repl in drracket?
I was trying out the raw-string pkg when I noticed it didn't work in
the repl. I tried it with at-exps too, and that didn't work either.
Is this what's supposed to happen, or is there any way to define a
reader for the repl (sort of like #%top-interaction but for the reader)?
Example:
Definitions window:
--------------------------------------------------------------------------
| #lang at-exp raw-string/raw-string racket #\$
|
| $[string-stuff]
|
| @string-append{string-stuff}
--------------------------------------------------------------------------
Interactions window:
--------------------------------------------------------------------------
| Welcome to DrRacket, version 6.0.0.1--2013-12-26(ec75e9a/a) [3m].
| Language: at-exp raw-string/raw-string racket [custom]; memory
limit: 128 MB.
| "string-stuff"
| "string-stuff"
| > $[string-stuff]
| . . $: undefined;
| cannot reference an identifier before its definition
| > @string-append{string-stuff}
| . . @string-append: undefined;
| cannot reference an identifier before its definition
| >
|
--------------------------------------------------------------------------