Am So., 4. Apr. 2021 um 10:02 Uhr schrieb Jakub T. Jankiewicz <
[email protected]>:

>
This is also exactly what I have in mind when I first read this. Changing
> the
> reader so it allow new syntax like #u16 if the default reader don't support
> it yet. I'm fine with solution of dealing with libraries and have something
> like Racket #lang or #reader at the beginning of the file, because if I
> want
> what I was originally wanted, to modify the reader directly int the file, I
> can possible write my own reader that will allow to use same syntax as I
> have
> in my Scheme based interpreter:
>

Yes, you can do all that with what Racket provides.

What seems to be missing with Racket is "(#. datum)", but this can be
mapped to Racket's #reader as in:

#reader"hash-dot" datum

Reply via email to