From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Per-module reader, take #2 Date: Sat, 29 Oct 2005 09:58:31 +0100 Message-ID: <87zmos8zt4.fsf@ossau.uklinux.net> 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> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1130581507 10264 80.91.229.2 (29 Oct 2005 10:25:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 29 Oct 2005 10:25:07 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Oct 29 12:25:06 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EVntO-0002W3-96 for guile-devel@m.gmane.org; Sat, 29 Oct 2005 12:24:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EVntM-0005yP-Bc for guile-devel@m.gmane.org; Sat, 29 Oct 2005 06:24:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EVnIW-0002zh-6o for guile-devel@gnu.org; Sat, 29 Oct 2005 05:46:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EVmh9-0000Ba-Aw for guile-devel@gnu.org; Sat, 29 Oct 2005 05:08:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EVmXt-0007O6-0E for guile-devel@gnu.org; Sat, 29 Oct 2005 04:58:37 -0400 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EVmXt-00052t-0V for guile-devel@gnu.org; Sat, 29 Oct 2005 04:58:37 -0400 Original-Received: from laruns (host81-130-88-151.in-addr.btopenworld.com [81.130.88.151]) by mail3.uklinux.net (Postfix) with ESMTP id D3DC0409FB1 for ; Sat, 29 Oct 2005 08:58:35 +0000 (UTC) Original-Received: from laruns (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id E38226F718 for ; Sat, 29 Oct 2005 09:58:31 +0100 (BST) Original-To: guile-devel@gnu.org In-Reply-To: <871x258dxd.fsf@zip.com.au> (Kevin Ryde's message of "Sat, 29 Oct 2005 08:38:54 +1000") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) 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:5366 Archived-At: Kevin Ryde writes: > Adding an arg to scm_primitive_load (if that's the question here), > would be very bad, since that function is described in the manual. Good point. I think my statement stands that binary compatibility is not required, but adding an arg to scm_primitive_load would break both binary and source compatibility, and we _do_ want to preserve source compatibility. So yes, the signature of scm_primitive_load has to stay as it is. That doesn't mean we have to duplicate code, though. We could move the code into scm_primitive_load_with_reader, and change scm_primitive_load to call that. Another detail that needs thought is whether any of the stack of load procedures defined in r4rs.scm and boot-9.scm (load-from-path, load and load-module) need enhancing to take a reader arg. Neil _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel