Subject: Re: clisp: COMPILE-FILE needs two LOADs?
From: (Rob Warnock)
Date: Fri, 24 Feb 2006 03:44:08 -0600
Newsgroups: comp.lang.lisp
Message-ID: <>
Peter Seibel  <> wrote:
| (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 Warnock			<>
627 26th Avenue			<URL:>
San Mateo, CA 94403		(650)572-2607