Hello,

Andreas Rottmann <a.rottm...@gmx.at> writes:

> "d...@mac.com" <d...@mac.com> writes:
>
>> I recall that the reader can be hash-extended to read these forms in a
>> hacky way. Extend on '-'. I don't recall exactly anymore. I long ago
>> patched the reader to read these natively. Perhaps there is some
>> enthusiasm for making these readable in the main line?
>>
> I'd like to implement SRFI-38, and perhaps the best way would be to
> modify the core reader/writer, instead of adding something like the
> reference implementation? Would this require a new reader option, or
> should it be always enabled?

I’d do it using either ‘read-hash-extend’, which should make it possible
to implement ‘read-with-shared-structure’ without touching ‘read’ (or
I’d take this opportunity to write a new ‘read’ in Scheme using SILex.
:-))

Thanks,
Ludo’.

Reply via email to