From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludovic.courtes@laas.fr (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Per-module reader, take #2 Date: Thu, 20 Oct 2005 16:42:57 +0200 Organization: LAAS-CNRS Message-ID: <87zmp4l05q.fsf@laas.fr> References: <87u0gp9lm3.fsf@laas.fr> <877jd3lkdq.fsf@ossau.uklinux.net> <87hdc62a6c.fsf@laas.fr> <87irw49twc.fsf@laas.fr> <87irw3prgp.fsf@ossau.uklinux.net> <8764rw7b9q.fsf_-_@laas.fr> <871x2j98qb.fsf@ossau.uklinux.net> <87u0ffnudk.fsf@laas.fr> <87sluxb0xt.fsf@ossau.uklinux.net> <87r7agvdb1.fsf@laas.fr> <20051020105256.GA11763@www.trapp.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1129820327 1835 80.91.229.2 (20 Oct 2005 14:58:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 Oct 2005 14:58:47 +0000 (UTC) Cc: guile-devel@gnu.org, Neil Jerram Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Oct 20 16:58:46 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ESbhc-00048z-FE for guile-devel@m.gmane.org; Thu, 20 Oct 2005 16:47:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESbhb-0005Kq-Rq for guile-devel@m.gmane.org; Thu, 20 Oct 2005 10:47:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ESbgr-0004ZD-99 for guile-devel@gnu.org; Thu, 20 Oct 2005 10:46:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ESbgq-0004YV-Gu for guile-devel@gnu.org; Thu, 20 Oct 2005 10:46:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESbgq-0004YG-41 for guile-devel@gnu.org; Thu, 20 Oct 2005 10:46:44 -0400 Original-Received: from [140.93.0.15] (helo=laas.laas.fr) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1ESbgq-0004Pw-0i for guile-devel@gnu.org; Thu, 20 Oct 2005 10:46:44 -0400 Original-Received: by laas.laas.fr (8.13.1/8.13.4) with SMTP id j9KEkf5d027302; Thu, 20 Oct 2005 16:46:42 +0200 (CEST) Original-To: tomas@tuxteam.de (Tomas Zerolo) X-URL: http://www.laas.fr/~lcourtes/ X-Revolutionary-Date: 29 =?iso-8859-1?Q?Vend=E9miaire?= an 214 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEB1F5364 X-PGP-Key: http://www.laas.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 821D 815D 902A 7EAB 5CEE D120 7FBA 3D4F EB1F 5364 X-OS: powerpc-unknown-linux-gnu Mail-Followup-To: tomas@tuxteam.de (Tomas Zerolo), Neil Jerram , guile-devel@gnu.org In-Reply-To: <20051020105256.GA11763@www.trapp.net> (Tomas Zerolo's message of "Thu, 20 Oct 2005 12:52:56 +0200") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) X-Spam-Score: 0 () X-Scanned-By: MIMEDefang at CNRS-LAAS X-MIME-Autoconverted: from 8bit to quoted-printable by laas.laas.fr id j9KEkf5d027302 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5331 Archived-At: Hi, tomas@tuxteam.de (Tomas Zerolo) writes: > But don't we loose the possibility then to have ``embedded goo=C2=B4=C2= =B4 (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