[plt-scheme] read doesn't like things commented out with a box

Ethan Herdrick info at reatlas.com
Sun Oct 7 05:14:10 EDT 2007


Great, thanks Matthew.

On 10/5/07, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> At Fri, 5 Oct 2007 13:03:17 -0700, "Ethan Herdrick" wrote:
> > When I use read on a file of Scheme that has some stuff commented out
> > with a box, I get this:
> >
> > read: #reader expressions not currently enabled
> >
> > When the file is saved as text this doesn't happen because of the
> > conversion of boxed comments to semicolon-prefixed comments.  But
> > that's a little inconvenient, can it be avoided?  Can one enable
> > "reader expressions", whatever those are?
>
> Yes:
>
>   (parameterize ([read-accept-reader #t])
>     (read))
>
>
> Matthew
>
>


More information about the plt-scheme mailing list