Neil Jerram <[EMAIL PROTECTED]> 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. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel