[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue: LOAD-OBJECTS (Version 3)
- To: Richard P. Gabriel <rpg@lucid.com>
- Subject: Re: Issue: LOAD-OBJECTS (Version 3)
- From: sandra%defun@cs.utah.edu (Sandra J Loosemore)
- Date: Sat, 11 Mar 89 18:42:56 MST
- Cc: CL-Cleanup@SAIL.STANFORD.EDU, CL-Compiler@SAIL.STANFORD.EDU, Common-Lisp-Object-System@SAIL.STANFORD.EDU
- In-reply-to: Richard P. Gabriel <rpg@lucid.com>, Sat, 11 Mar 89 16:46:51 PST
I haven't been paying too much attention to this issue either -- I've
been trusting Moon to do the right thing on the assumption that he
knew more about it than I did. I think his latest proposal does look
reasonable. However, if there is disagreement about it, I might as
well suggest yet another alternative:
Have two generic functions, not one. The first would get called by
compile-file and it would return a list of components (or whatever)
that are required to reconstruct the object. The compiler would dump
this list of objects in its usual way. The loader would apply the
second generic function to this list to reconstruct the object. It
avoids the nasty syntax you object to, doesn't require functions to be
dumpable, doesn't require any special support for circular constants,
and ought to be real easy to add to the compiler/loader. (You could
essentially convert the constant into a LOAD-TIME-VALUE expression.)
-Sandra
-------