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: Fri, 28 Oct 2005 22:26:07 +0100 Message-ID: <87d5lp9vv4.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> 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 1130534881 6486 80.91.229.2 (28 Oct 2005 21:28:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Oct 2005 21:28:01 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Oct 28 23:28:00 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EVbjx-0005Aq-Ju for guile-devel@m.gmane.org; Fri, 28 Oct 2005 23:26:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EVbjw-0004ML-Tq for guile-devel@m.gmane.org; Fri, 28 Oct 2005 17:26:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EVbjq-0004IW-Nx for guile-devel@gnu.org; Fri, 28 Oct 2005 17:26:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EVbjo-0004G5-Sw for guile-devel@gnu.org; Fri, 28 Oct 2005 17:26:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EVbjn-0004Fc-Fe for guile-devel@gnu.org; Fri, 28 Oct 2005 17:26:12 -0400 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EVbjn-0002ZY-G1 for guile-devel@gnu.org; Fri, 28 Oct 2005 17:26:11 -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 B9508409FB2 for ; Fri, 28 Oct 2005 21:26:10 +0000 (UTC) Original-Received: from laruns (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id 766146F718 for ; Fri, 28 Oct 2005 22:26:07 +0100 (BST) Original-To: guile-devel@gnu.org In-Reply-To: <87br1jiacq.fsf@laas.fr> ( =?iso-8859-1?q?Ludovic_Court=E8s's_message_of?= "Fri, 21 Oct 2005 09:43:17 +0200") 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:5364 Archived-At: ludovic.courtes@laas.fr (Ludovic Court=E8s) writes: >> (`include' feels like a nice name to me. It could be implemented >> using an optional reader arg to load/primitive-load, something like: >> >> (include FILE) -> (load FILE (current-reader)) > > Maybe `load-with-reader' is more explicit, while not as nice? ;-) My idea of `include' would map to `load-with-current-reader', not to `load-with-reader'. I would expect `load-with-reader' to require an explicit reader argument. We're into pretty fine details here, though! I don't mind that much either way. >> And then primitive-load would call scm_frame_fluid with the optional >> arg if supplied, SCM_BOOL_F otherwise.) > > In fact, in order to retain binary compatibility, we'd have to provide > another function which would essentially contain the same code as > `primitive-load' except for the optional reader argument and the default > value of the `current-reader' fluid. Is binary compatibility a requirement? I presume this is aimed for 1.8, and presumably for 1.8 we'd bump libguile's major version, wouldn't we? (Getting into territory I don't really understand ...) Neil _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel