guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What does #-3# mean?


From: Ludovic Courtès
Subject: Re: What does #-3# mean?
Date: Wed, 25 Aug 2010 11:52:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hello,

Andreas Rottmann <address@hidden> writes:

> "address@hidden" <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]