From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24685 invoked by alias); 19 Mar 2002 21:53:27 -0000 Mailing-List: contact cgen-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sources.redhat.com Received: (qmail 24565 invoked from network); 19 Mar 2002 21:53:24 -0000 Received: from unknown (HELO miranda.axis.se) (193.13.178.2) by sources.redhat.com with SMTP; 19 Mar 2002 21:53:24 -0000 Received: from ignucius.axis.se (root@ignucius.axis.se [10.13.1.18]) by miranda.axis.se (8.12.1/8.12.1/Debian -5) with ESMTP id g2JLrEDi026217; Tue, 19 Mar 2002 22:53:14 +0100 Received: (from hp@localhost) by ignucius.axis.se (8.9.3/8.9.3/Debian 8.9.3-21) id WAA14079; Tue, 19 Mar 2002 22:53:14 +0100 Date: Tue, 19 Mar 2002 13:53:00 -0000 Message-Id: <200203192153.WAA14079@ignucius.axis.se> From: Hans-Peter Nilsson To: dje@transmeta.com CC: hans-peter.nilsson@axis.com, cgen@sources.redhat.com In-reply-to: <15511.44192.158916.712887@casey.transmeta.com> (message from Doug Evans on Tue, 19 Mar 2002 13:24:48 -0800 (PST)) Subject: Re: Recursive expansion of pmacros (was: Re: Typo: .substr in pmacros.texi is .substring in pmacros.scm) X-SW-Source: 2002-q1/txt/msg00081.txt.bz2 > From: Doug Evans > Date: Tue, 19 Mar 2002 13:24:48 -0800 (PST) > Hans-Peter Nilsson writes: > > > Note that there are otherways to do this, besides the implicit re-lookup. > > > > How can I do that without re-lookup? > ^ > ^ > You left out the "implicit". > e.g. what's the opposite of implicit? [hint hint] Ah, you mean I should use (.eval (pmacro-expand '(.sym ...)))! But that's frowned upon (pmacros.scm) (supposedly because you break through the CGEN description interface into scheme and nasty things not accounted for can happen): ; .eval is an experiment. Ports that consider themselves to be of beta ; quality or better don't use it. Besides, I *expected* implicit re-lookup of a symbol built-up from (.sym ...). I think it comes naturally: what happens to abc should happen to the expansion of (.sym a b c). If people don't want re-lookup, may there can be added explicit deferring, by, say, (quote ...) ;-) brgds, H-P