Subject: Re: COMPILE-FILE without a file...
From: rpw3@rpw3.org (Rob Warnock)
Date: Tue, 03 Feb 2009 23:10:43 -0600
Newsgroups: comp.lang.lisp
Message-ID: <8YSdnd8S1LDOvhTUnZ2dnUVZ_hudnZ2d@speakeasy.net>
Marco Antoniotti  <marcoxa@gmail.com> wrote:
+---------------
| If we had standardized environments (which we don't, as implementors
| deviate or do not implement from the CLTL2 description), we could
| probably do something along the lines of
| 
| (with-compilation-environment
|    (loop for form = (read stream nil stream) until (eq form stream)
|          do (funcall (compile nil `(lambda () ,form))))
+---------------

Depending on the implementation, using WITH-COMPILATION-UNIT
[instead of the mythical WITH-COMPILATION-ENVIRONMENT] *might*
buy you something in the above. Maybe.


-Rob

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