[Top][All Lists]

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

Re: [PATCH] Per-module reader, take #2

From: Ludovic Courtès
Subject: Re: [PATCH] Per-module reader, take #2
Date: Thu, 20 Oct 2005 16:42:57 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)


address@hidden (Tomas Zerolo) writes:

> But don't we loose the possibility then to have ``embedded goo´´ (say,
> for example, something like a snippet of SQL in an otherwise Scheme
> file)? This would be, I think, one of the nifty uses for pluggable
> readers...

[It looks like something fishy happened with your mailer...]

No, we don't lose anything by having a mechanism for per-file readers
rather than per-module readers.  In fact, the latter can be emulated on
top of the former.

In fact, `set-current-reader' allows for better than per-file reader:
you can switch back and forth readers from within a file that is being

BTW, for SQL requests, you'd certainly better use `read-hash-extend' for
instance.  I see custom readers as a way to choose among various syntax
variants for the *Scheme* language (or close relatives).


reply via email to

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