[racket-dev] TR: Five feature/limitation interactions conspire to drive mad

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Mon Dec 31 18:27:56 EST 2012

On Mon, Dec 31, 2012 at 3:27 PM, Neil Toronto <neil.toronto at gmail.com> wrote:
>
>  1. Allow submodules to extend the reader.
>
> This seems hard, because module forms are expanded after they've been read.
> One possibility is a #module reader macro. Seems like overkill.

This, at least, has an easy solution -- use the `#reader` form with
`typed-racket/typed-reader` collection, which provides `read` and
`read-syntax`.

Sam

Posted on the dev mailing list.