[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Per-module reader, take #2
From: |
Neil Jerram |
Subject: |
Re: [PATCH] Per-module reader, take #2 |
Date: |
Thu, 20 Oct 2005 22:27:15 +0100 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Kevin Ryde <address@hidden> writes:
> address@hidden (Ludovic Courtès) writes:
>>
>> And what exactly would happen to
>> `primitive-load' (which is the one that triggered the call to
>> `my-zany-reader') when `my-zany-reader' returns?
>
> It sees eof, and stops. Or it sees the rest of the file if the new
> reader only takes an inlined middle bit of special syntax. A nested
> parser like that seems pretty clean and pretty normal to me. I think
> it can do almost everything you're aiming for.
I think Kevin is right that this is possible and would work, but there
is also some merit in the arguments that
- even if it is possible, emulating/duplicating the primitive-load
loop is a bit dull
- in future the primitive-load loop might acquire more features, and
it would be nice if those features Just Worked for Ludovic's readers
also.
On the second point there's a specific feature that I have in mind,
namely being able to set previously specified breakpoints on each
expression as soon as it has been read, and before it is evaluated, so
I'm not just speculating wildly.
So I think the fluid current reader approach is quite nice, as long as
we are happy that it doesn't introduce any significant performance
overhead.
Regards,
Neil
- Re: [PATCH] Per-module reader, Ludovic Courtès, 2005/10/11
- Re: [PATCH] Per-module reader, Neil Jerram, 2005/10/11
- Re: [PATCH] Per-module reader, Ludovic Courtès, 2005/10/12
- Re: [PATCH] Per-module reader, take #2, Ludovic Courtès, 2005/10/17
- Re: [PATCH] Per-module reader, take #2, Neil Jerram, 2005/10/17
- Re: [PATCH] Per-module reader, take #2, Ludovic Courtès, 2005/10/18
- Re: [PATCH] Per-module reader, take #2, Neil Jerram, 2005/10/19
- Re: [PATCH] Per-module reader, take #2, Kevin Ryde, 2005/10/19
- Re: [PATCH] Per-module reader, take #2, Ludovic Courtès, 2005/10/20
- Re: [PATCH] Per-module reader, take #2, Kevin Ryde, 2005/10/20
- Re: [PATCH] Per-module reader, take #2,
Neil Jerram <=
- Re: [PATCH] Per-module reader, take #2, Ludovic Courtès, 2005/10/20
- Re: [PATCH] Per-module reader, take #2, Tomas Zerolo, 2005/10/20
- Re: [PATCH] Per-module reader, take #2, Ludovic Courtès, 2005/10/20
- Re: [PATCH] Per-module reader, take #2, Neil Jerram, 2005/10/20
- Re: [PATCH] Per-module reader, take #2, Ludovic Courtès, 2005/10/21
- Re: [PATCH] Per-module reader, take #2, Ludovic Courtès, 2005/10/24
- Re: [PATCH] Per-module reader, take #2, Neil Jerram, 2005/10/28
- Re: [PATCH] Per-module reader, take #2, Kevin Ryde, 2005/10/28
- Re: [PATCH] Per-module reader, take #2, Neil Jerram, 2005/10/29
- Re: [PATCH] Per-module reader, take #2, Neil Jerram, 2005/10/30