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

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Oct 5 16:08:11 EDT 2007

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



Posted on the users mailing list.