guile-reader-devel
[Top][All Lists]
Advanced

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

Re: [guile-reader-devel] guile-reader releases


From: Ludovic Courtès
Subject: Re: [guile-reader-devel] guile-reader releases
Date: Fri, 05 Jun 2015 09:47:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Dmitry Bogatov <address@hidden> skribis:

>> > Also, my example uses undocumented property -- reader, made by
>> > `make-reader' apply token-readers in reverse order:
>> >
>> >    (make-reader (cons $-token-reader (default-reader-token-readers)))
>> >
>> > does not work as intended ($-token-reader does not get called).
>
> Can you confirm, that token-readers are actually called in reverse
> order?

Hmm, actually no.  I think the problem here is that there is more than
one token reader claiming to handle tokens that start with ‘$’.  So this
is “undefined behavior.”

I guess the right thing would be to make sure that only one token reader
handles ‘$’.

Ludo’.



reply via email to

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