| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 |
<html> |
| 3 |
<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ --> |
| 4 |
<head> |
| 5 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 6 |
<title>Externalizable Objects (ANSI and GNU Common Lisp Document)</title> |
| 7 |
|
| 8 |
<meta name="description" content="Externalizable Objects (ANSI and GNU Common Lisp Document)"> |
| 9 |
<meta name="keywords" content="Externalizable Objects (ANSI and GNU Common Lisp Document)"> |
| 10 |
<meta name="resource-type" content="document"> |
| 11 |
<meta name="distribution" content="global"> |
| 12 |
<meta name="Generator" content="makeinfo"> |
| 13 |
<link href="index.html" rel="start" title="Top"> |
| 14 |
<link href="Literal-Objects-in-Compiled-Files.html" rel="up" title="Literal Objects in Compiled Files"> |
| 15 |
<link href="Similarity-of-Literal-Objects.html" rel="next" title="Similarity of Literal Objects"> |
| 16 |
<link href="Literal-Objects-in-Compiled-Files.html" rel="prev" title="Literal Objects in Compiled Files"> |
| 17 |
<style type="text/css"> |
| 18 |
<!-- |
| 19 |
a.summary-letter {text-decoration: none} |
| 20 |
blockquote.indentedblock {margin-right: 0em} |
| 21 |
div.display {margin-left: 3.2em} |
| 22 |
div.example {margin-left: 3.2em} |
| 23 |
div.lisp {margin-left: 3.2em} |
| 24 |
kbd {font-style: oblique} |
| 25 |
pre.display {font-family: inherit} |
| 26 |
pre.format {font-family: inherit} |
| 27 |
pre.menu-comment {font-family: serif} |
| 28 |
pre.menu-preformatted {font-family: serif} |
| 29 |
span.nolinebreak {white-space: nowrap} |
| 30 |
span.roman {font-family: initial; font-weight: normal} |
| 31 |
span.sansserif {font-family: sans-serif; font-weight: normal} |
| 32 |
ul.no-bullet {list-style: none} |
| 33 |
--> |
| 34 |
</style> |
| 35 |
|
| 36 |
|
| 37 |
</head> |
| 38 |
|
| 39 |
<body lang="en"> |
| 40 |
<span id="Externalizable-Objects"></span><div class="header"> |
| 41 |
<p> |
| 42 |
Next: <a href="Similarity-of-Literal-Objects.html" accesskey="n" rel="next">Similarity of Literal Objects</a>, Previous: <a href="Literal-Objects-in-Compiled-Files.html" accesskey="p" rel="prev">Literal Objects in Compiled Files</a>, Up: <a href="Literal-Objects-in-Compiled-Files.html" accesskey="u" rel="up">Literal Objects in Compiled Files</a> </p> |
| 43 |
</div> |
| 44 |
<hr> |
| 45 |
<span id="Externalizable-Objects-1"></span><h4 class="subsubsection">3.2.4.1 Externalizable Objects</h4> |
| 46 |
|
| 47 |
<p>The fact that the <i>file compiler</i> represents <i>literal</i> <i>objects</i> |
| 48 |
externally in a <i>compiled file</i> and must later reconstruct suitable |
| 49 |
equivalents of those <i>objects</i> when that <i>file</i> is loaded |
| 50 |
imposes a need for constraints on the nature of the <i>objects</i> that can be |
| 51 |
used as <i>literal</i> <i>objects</i> in <i>code</i> to be processed |
| 52 |
by the <i>file compiler</i>. |
| 53 |
</p> |
| 54 |
<p>An <i>object</i> that can be used as a <i>literal</i> <i>object</i> |
| 55 |
in <i>code</i> to be processed by the <i>file compiler</i> is called an |
| 56 |
<i>externalizable object</i> |
| 57 |
<span id="index-externalizable-object"></span> |
| 58 |
. |
| 59 |
</p> |
| 60 |
<p>We define that two <i>objects</i> are <i>similar</i> |
| 61 |
<span id="index-similar"></span> |
| 62 |
if they satisfy |
| 63 |
a two-place conceptual equivalence predicate (defined below), which is |
| 64 |
independent of the <i>Lisp image</i> so that the two <i>objects</i> in |
| 65 |
different <i>Lisp images</i> can be understood to be equivalent under |
| 66 |
this predicate. Further, by inspecting the definition of this conceptual |
| 67 |
predicate, the programmer can anticipate what aspects of an <i>object</i> |
| 68 |
are reliably preserved by <i>file compilation</i>. |
| 69 |
</p> |
| 70 |
<p>The <i>file compiler</i> must cooperate with the <i>loader</i> in order to |
| 71 |
assure that in each case where an <i>externalizable object</i> is processed |
| 72 |
as a <i>literal object</i>, the <i>loader</i> will construct a <i>similar</i> |
| 73 |
<i>object</i>. |
| 74 |
</p> |
| 75 |
<p>The set of <i>objects</i> that are <i>externalizable objects</i> |
| 76 |
<span id="index-externalizable-object-1"></span> |
| 77 |
are those |
| 78 |
for which the new conceptual term “<i>similar</i>” is defined, such that |
| 79 |
when a <i>compiled file</i> is <i>loaded</i>, an <i>object</i> can be constructed |
| 80 |
which can be shown to be <i>similar</i> to the original <i>object</i> which |
| 81 |
existed at the time the <i>file compiler</i> was operating. |
| 82 |
</p> |
| 83 |
|
| 84 |
|
| 85 |
|
| 86 |
</body> |
| 87 |
</html> |