From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: Problems with LOAD and latest build Date: Thu, 03 Sep 2009 10:43:39 +0200 Message-ID: References: <874oro74lh.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1251989574 786 80.91.229.12 (3 Sep 2009 14:52:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Sep 2009 14:52:54 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Sep 03 16:52:46 2009 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MjDg4-00052E-AS for guile-devel@m.gmane.org; Thu, 03 Sep 2009 16:52:45 +0200 Original-Received: from localhost ([127.0.0.1]:54154 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjDg3-000673-Tm for guile-devel@m.gmane.org; Thu, 03 Sep 2009 10:52:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MjDTn-0002QT-U0 for guile-devel@gnu.org; Thu, 03 Sep 2009 10:40:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MjDTk-0002O8-3M for guile-devel@gnu.org; Thu, 03 Sep 2009 10:40:03 -0400 Original-Received: from [199.232.76.173] (port=34105 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjDTj-0002O0-K5 for guile-devel@gnu.org; Thu, 03 Sep 2009 10:39:59 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:65267 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MjDTg-0008LK-9t; Thu, 03 Sep 2009 10:39:56 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 7173B42B27; Thu, 3 Sep 2009 10:39:28 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=k584Rf4xsfxq svFem5Pn8SCY7bA=; b=N1sdPZlMKi6d0cNqOGjAdmwDW4NbkDZOXrxH0rifbwgv 3aaKr6uKlDdnjpBELRe2vslXxVVmqmQmaMKh4fpY5gTdIyUb+lmEJ+9IeQRxiu4j lbdZurPmjDNDATOSXIrz4RnnBMcdqsWSi/rZy3LMyiXCNqZqPbEApKDAveKp7so= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=tIASJV fRKTiLr6RumTe906aWaVd151g+vhJ8kqGD3zrDytZpd4+7YYoQ/z+8sSuj1LKG+q ANQcyiHud5/+jg6txnkfGoBqcThgPkOC38XIUVfsXh7vCGXnKTGQPjC71RNX+O+C uMGMdtRSy7eZFaSleycMP+r8M5tXT7O1K2yWg= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 624D242B26; Thu, 3 Sep 2009 10:39:27 -0400 (EDT) Original-Received: from unquote (unknown [83.37.98.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id D8E1D42B24; Thu, 3 Sep 2009 10:39:20 -0400 (EDT) In-Reply-To: <874oro74lh.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Mon, 31 Aug 2009 10:46:50 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Pobox-Relay-ID: 94E97CCC-9897-11DE-9F23-8B19076EA04E-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:9257 Archived-At: On Mon 31 Aug 2009 10:46, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Hi, > > Andy Wingo writes: > >> Now, does this indicate a bug in Guile, or at least an undesirable >> behavior? > > Yes, I think so. > > Programs that want to rely on bare R5RS (e.g., SILex) have nothing else > but `load' to have code in separate files. So I think the compiler > should special-case top-level `load', `primitive-load', etc., calls. Programs that rely on bare R5RS still need some help in Guile 1.8 to load up syntax-rules. If they don't load up syntax-rules, they can't define macros (barring defmacro which is not R5RS), and without there's no difference between load and load-for-syntax. Also this runs into other issues: (define (my-load foo) (warn "something") (load foo)) Or (define (my-load2 foo) (load (frob foo))) > What do you think? If there is a sensible thing to do here, I'm happy to do it. But I don't yet see what that thing is. Andy --=20 http://wingolog.org/