[plt-scheme] s-exp and custom reader

From: YC (yinso.chen at gmail.com)
Date: Mon Jul 14 15:58:32 EDT 2008

Hi -

in thread
http://list.cs.brown.edu/pipermail/plt-scheme/2008-June/025184.html Danny
alluded to using the s-exp module for custom language, e.g.

#lang s-exp <language>

But if the language has uses its own custom reader procedure, then the above
doesn't appear to work.  My current solution is to basically create my own
s-exp and call it via #reader instead of #lang, e.g.

#reader <language> ...

Is there a simpler solution on the line of `#lang s-exp`?  It would be nice
for `#lang` to accept language forms such as `(lib ...)` or `(planet ...)` -

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20080714/062ed1c4/attachment.html>

Posted on the users mailing list.