Hi,

[EMAIL PROTECTED] (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
loaded.

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).

Thanks,
Ludovic.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel

Reply via email to