Subject: Re: clisp: COMPILE-FILE needs two LOADs?
From: rpw3@rpw3.org (Rob Warnock)
Date: Fri, 24 Feb 2006 03:44:08 -0600
Newsgroups: comp.lang.lisp
Message-ID: <L42dnc-bsuT1SGPenZ2dnUVZ_t2dnZ2d@speakeasy.net>
Peter Seibel  <peter@gigamonkeys.com> wrote:
+---------------
| rpw3@rpw3.org (Rob Warnock) writes:
| > If the arg REGEX were a constant, the above version would evaluate
| > (CREATE-SCANNER REGEX) at macro-expansion [compile] time and embed
| > the resulting complex object as a quasi-literal in the generated
| > SPLIT call.
| 
| I hope I'm not bringing something up that was dealt with upthread, but
| even if REGEX were available at compile time, wouldn't this still be
| busted since CREATE-SCANNER returns a closure which isn't
| (necessarily) an externalizable object and thus couldn't (necessarily)
| be embedded in the generated code?
+---------------

Yes, of course. In writing the above, I was so closely focussed on
the macro-expansion-time versus load-time issue that I didn't think
to go check what kind of object CREATE-SCANNER returned. (Oops.)


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607