I think you might be able to leave the reader as-is and just re-define
#%datum to reject whatever kinds of literal data you don't want to allow.

-Philip

On Thu, Jun 29, 2017 at 9:44 PM, Sam Waxman <samwax...@gmail.com> wrote:

> Hello,
>
> I'm building a #lang, and I don't want it to have a few things like
> complex numbers, or vectors. Other than the things I don't want, the reader
> would be identical to racket's. Is there an easy way to "turn off" the
> things I don't want, so to speak, and take Racket's reader and delete the
> things I don't need? The alternative, of course, would be to write my own
> reader from scratch. Just seems a bit silly when there's a perfectly good
> one already written that has everything I need.
>
> Many thanks in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to