From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Per-module reader, take #3 Date: 20 Nov 2005 02:15:27 +0200 Message-ID: <87acg0maxs.fsf@zagadka.de> 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> <87wtk796xk.fsf@ossau.uklinux.net> <87br1jiacq.fsf@laas.fr> <87d5lp9vv4.fsf@ossau.uklinux.net> <871x258dxd.fsf@zip.com.au> <87zmos8zt4.fsf@ossau.uklinux.net> <87ll0a3hlk.fsf@ossau.uklinux.net> <87pspch28a.fsf_-_@laas.fr> <87zmo4jny6.fsf@ossau.uklinux.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1132445762 18683 80.91.229.2 (20 Nov 2005 00:16:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 20 Nov 2005 00:16:02 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Nov 20 01:15:54 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Edcs3-0003Ra-4F for guile-devel@m.gmane.org; Sun, 20 Nov 2005 01:15:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Edcs2-0002GG-30 for guile-devel@m.gmane.org; Sat, 19 Nov 2005 19:15:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Edcrn-0002G1-Bu for guile-devel@gnu.org; Sat, 19 Nov 2005 19:15:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Edcrk-0002Fp-LR for guile-devel@gnu.org; Sat, 19 Nov 2005 19:15:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Edcri-0002Fm-OT for guile-devel@gnu.org; Sat, 19 Nov 2005 19:15:32 -0500 Original-Received: from [213.243.153.36] (helo=smtp3.pp.htv.fi) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Edcri-00083r-LB for guile-devel@gnu.org; Sat, 19 Nov 2005 19:15:30 -0500 Original-Received: from zagadka.ping.de (cs181072157.pp.htv.fi [82.181.72.157]) by smtp3.pp.htv.fi (Postfix) with SMTP id 8689E27ACCE for ; Sun, 20 Nov 2005 02:15:27 +0200 (EET) Original-Received: (qmail 15235 invoked by uid 1000); 20 Nov 2005 00:15:27 -0000 Original-To: Neil Jerram In-Reply-To: <87zmo4jny6.fsf@ossau.uklinux.net> Original-Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 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:5412 Archived-At: Neil Jerram writes: > To be completely concrete about what I mean, here is a version of > your patch which I prefer (untested except by make check). Hmm. Your approach make 'load' configurable so that it can use different 'read' procedures. Wouldn't it be more natural to make 'read' configurable to parse different syntaxes? 'load' is only a thin wrapper around 'read' and 'eval' (basically, a repl without the 'p'). The real meat is in 'read' (syntax) and 'eval' (semantics). So, if we want to customize the syntax, I'd say 'read' is the place to do it. Then all users of 'read' would automatically use the new syntax, not only when reading code in 'load'. (That's one big point of Lisp, that the data and code syntax are the same.) However, making the read procedure used by 'load' configurable can't hurt, I think. -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel