[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Per-module reader, take #2
From: |
Kevin Ryde |
Subject: |
Re: [PATCH] Per-module reader, take #2 |
Date: |
Thu, 20 Oct 2005 11:22:46 +1000 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) |
Neil Jerram <address@hidden> writes:
>
> 1. A way to say "change the reader to XXX for the rest of this file".
I think that may be possible already using current-load-port.
Something like
(define-module (foo bar)
...)
(my-zany-reader)
where `my-zany-reader' reads and parses from current-load-port and
does whatever with the results, like make new defines presumably.
This could be used for the entire rest of the file, or stop at some
point like a "here-document" perhaps.
Wouldn't be compiler-friendly, but I wouldn't worry about that until
there's an actual compiler to be friendly with :-).
> 2. A way to say "load FILE using reader XXX".
`load' is pretty simple, isn't it? One can make a new open/read/eval
without too much trouble. I guess there's bits like path searching
and current module saving. Maybe they only need to be better
documented though.
- 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 <=
- 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, 2005/10/20
- 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