Skip to content

Commit 930f311

Browse files
committed
Cleaned up and normalized HTML fragment anchors in the DRM. Moved some around so
they refer to the correct text. Changed many to mark the relevant text within the anchor tag instead of using empty tags. Fixed some broken cross-reference links.
1 parent 45e3d63 commit 930f311

File tree

98 files changed

+1449
-1502
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+1449
-1502
lines changed

Arithmetic_Operations.html

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,8 +1099,8 @@ <h5 class="method-signature"><span class="signature"><code><var>complex</var> ^
10991099
<a name="HEADING-100-179"></a>
11001100
<h4 class="item-title"><span class="signature"><code id="IX-1653">abs</code> </span><span class="attributes-summary">[Open Generic Function]</span></h4>
11011101
<hr class="item-title" />
1102-
<p class="short-description"><a name="XREF-1654"></a>Returns the absolute value of its
1103-
argument.</p>
1102+
<p class="short-description"><a name="XREF-1654">Returns the absolute value of its
1103+
argument.</a></p>
11041104
<dl class="Cliche">
11051105
<dt><span>Signature:</span></dt>
11061106
<dd>
@@ -1173,8 +1173,8 @@ <h4 class="item-title"><span class="signature"><a name="IX-1657"></a><code id="I
11731173
<a name="HEADING-100-193"></a>
11741174
<h4 class="item-title"><span class="signature"><code id="IX-1658">logxor</code> </span><span class="attributes-summary">[Function]</span></h4>
11751175
<hr class="item-title" />
1176-
<p class="short-description"><a name="XREF-1659"></a>Returns the bitwise exclusive or of
1177-
its integer arguments.</p>
1176+
<p class="short-description"><a name="XREF-1659">Returns the bitwise exclusive or of
1177+
its integer arguments.</a></p>
11781178
<dl class="Cliche">
11791179
<dt><span>Signature:</span></dt>
11801180
<dd>
@@ -1207,8 +1207,8 @@ <h4 class="item-title"><span class="signature"><code id="IX-1658">logxor</code>
12071207
<a name="HEADING-100-199"></a>
12081208
<h4 class="item-title"><span class="signature"><code id="IX-1660">logand</code> </span><span class="attributes-summary">[Function]</span></h4>
12091209
<hr class="item-title" />
1210-
<p class="short-description"><a name="XREF-1661"></a>Returns the bitwise and of its
1211-
integer arguments.</p>
1210+
<p class="short-description"><a name="XREF-1661">Returns the bitwise and of its
1211+
integer arguments.</a></p>
12121212
<dl class="Cliche">
12131213
<dt><span>Signature:</span></dt>
12141214
<dd>
@@ -1241,8 +1241,8 @@ <h4 class="item-title"><span class="signature"><code id="IX-1660">logand</code>
12411241
<a name="HEADING-100-205"></a>
12421242
<h4 class="item-title"><span class="signature"><code id="IX-1662">lognot</code> </span><span class="attributes-summary">[Function]</span></h4>
12431243
<hr class="item-title" />
1244-
<p class="short-description"><a name="XREF-1663"></a>Returns the bitwise not of its
1245-
integer argument.</p>
1244+
<p class="short-description"><a name="XREF-1663">Returns the bitwise not of its
1245+
integer argument.</a></p>
12461246
<dl class="Cliche">
12471247
<dt><span>Signature:</span></dt>
12481248
<dd>
@@ -1275,8 +1275,8 @@ <h4 class="item-title"><span class="signature"><code id="IX-1662">lognot</code>
12751275
<a name="HEADING-100-211"></a>
12761276
<h4 class="item-title"><span class="signature"><code id="IX-1664">logbit?</code> </span><span class="attributes-summary">[Function]</span></h4>
12771277
<hr class="item-title" />
1278-
<p class="short-description"><a name="XREF-1665"></a>Tests the value of a particular bit
1279-
in its integer argument.</p>
1278+
<p class="short-description"><a name="XREF-1665">Tests the value of a particular bit
1279+
in its integer argument.</a></p>
12801280
<dl class="Cliche">
12811281
<dt><span>Signature:</span></dt>
12821282
<dd>
@@ -1315,8 +1315,8 @@ <h4 class="item-title"><span class="signature"><code id="IX-1664">logbit?</code>
13151315
<a name="HEADING-100-219"></a>
13161316
<h4 class="item-title"><span class="signature"><code id="IX-1666">ash</code> </span><span class="attributes-summary">[Function]</span></h4>
13171317
<hr class="item-title" />
1318-
<p class="short-description"><a name="XREF-1667"></a>Performs an arithmetic shift on its
1319-
first argument.</p>
1318+
<p class="short-description"><a name="XREF-1667">Performs an arithmetic shift on its
1319+
first argument.</a></p>
13201320
<dl class="Cliche">
13211321
<dt><span>Signature:</span></dt>
13221322
<dd>
@@ -1366,8 +1366,8 @@ <h4 class="item-title"><span class="signature"><code id="IX-1666">ash</code> </s
13661366
<a name="HEADING-100-230"></a>
13671367
<h4 class="item-title"><span class="signature"><code id="IX-1669">lcm</code> </span><span class="attributes-summary">[Open Generic Function]</span></h4>
13681368
<hr class="item-title" />
1369-
<p class="short-description"><a name="XREF-1670"></a>Returns the least common multiple of
1370-
its two arguments.</p>
1369+
<p class="short-description"><a name="XREF-1670">Returns the least common multiple of
1370+
its two arguments.</a></p>
13711371
<dl class="Cliche">
13721372
<dt><span>Signature:</span></dt>
13731373
<dd>
@@ -1407,8 +1407,8 @@ <h5 class="method-signature"><span class="signature"><code>lcm <var>integer1 int
14071407
<a name="HEADING-100-239"></a>
14081408
<h4 class="item-title"><span class="signature"><code id="IX-1671">gcd</code> </span><span class="attributes-summary">[Open Generic Function]</span></h4>
14091409
<hr class="item-title" />
1410-
<p class="short-description"><a name="XREF-1672"></a>Returns the greatest common divisor
1411-
of its two arguments.</p>
1410+
<p class="short-description"><a name="XREF-1672">Returns the greatest common divisor
1411+
of its two arguments.</a></p>
14121412
<dl class="Cliche">
14131413
<dt><span>Signature:</span></dt>
14141414
<dd>

Assignment.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,10 @@ <h1 class="section-title"><a name="IX-451">Assignment</a></h1>
148148
<code> &rArr;</code> 110
149149
*foo*
150150
<code> &rArr;</code> 110</pre>
151-
<p><a name="IX-454"></a><a name="IX-455"></a>The following examples show the use
152-
of <code>:=</code> as shorthand for calling a setter function. In general, using this syntax to
153-
call a function <var>fun</var> is equivalent to calling the
154-
function <code><var>fun</var>-setter</code>.</p>
151+
<p>The following examples show the use of <code>:=</code> as <a name="IX-454">shorthand for
152+
calling a setter function</a>. In general, using this syntax to call a
153+
function <var>fun</var> is equivalent to calling the
154+
function <a name="IX-455"><code><var>fun</var>-setter</code></a>.</p>
155155
<pre class="code">
156156
define variable *foo* = vector (10, 6, 8, 5);
157157
element(*foo*, 2)

Auxiliary_Rule_Sets.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,13 @@
133133

134134
<a name="HEADING-84-0"></a>
135135
<a name="UID-Macros-1862"></a>
136-
<h1 class="section-title">Auxiliary Rule Sets</h1>
137-
<p><a name="IX-1265"></a>Auxiliary rule sets are
138-
like <a name="IX-1266"></a>subroutines for rewrite rules. An auxiliary rule set
139-
rewrites the value of a pattern variable after it is bound by a pattern and before it is
140-
substituted into a template. Auxiliary rule sets only come into play after a pattern has
141-
matched; the failure of all patterns in an auxiliary rule set to match causes the entire
142-
macro call to be declared invalid, rather than back-tracking and trying the next pattern in
143-
the calling rule set.</p>
136+
<h1 class="section-title"><a name="IX-1265">Auxiliary Rule Sets</a></h1>
137+
<p>Auxiliary rule sets are like <a name="IX-1266"></a>subroutines for rewrite rules. An
138+
auxiliary rule set rewrites the value of a pattern variable after it is bound by a pattern
139+
and before it is substituted into a template. Auxiliary rule sets only come into play after
140+
a pattern has matched; the failure of all patterns in an auxiliary rule set to match causes
141+
the entire macro call to be declared invalid, rather than back-tracking and trying the next
142+
pattern in the calling rule set.</p>
144143
<p>See the definition of <var>aux-rule-sets</var>
145144
in <a href="Phrase_Grammar#XREF-2122"><q>Auxiliary Rule Sets</q> on page 430</a>.</p>
146145
<p>A <em class="BNFCaps">symbol</em> flags the beginning of an auxiliary rule set. For

BNF.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ <h1 class="appendix-title"><a name="XREF-2090">BNF</a></h1>
134134
<h2 class="subsection-title">General Notes</h2>
135135
<p>Dylan <a name="IX-2091">syntax</a> can be parsed with
136136
an <a name="IX-2092">LALR(1)</a> <a name="IX-2093">grammar.</a></p>
137-
<p><a name="IX-2094"></a>This appendix uses some special notation to make the
137+
<p>This appendix uses some special <a name="IX-2094">notation</a> to make the
138138
presentation of the grammar more readable.</p>
139139
<ul>
140140
<li>The <sub class="BNF"><i>opt</i></sub> suffix means that the preceding item is
@@ -169,7 +169,7 @@ <h2 class="subsection-title">General Notes</h2>
169169
definitions and case-body). The grammar can be made LALR(1) through well-known standard
170170
transformations implemented by most parser generators.</p>
171171
<a name="HEADING-116-11"></a>
172-
<h2 class="subsection-title"><a name="IX-2095"></a>Lexical Notes</h2>
172+
<h2 class="subsection-title"><a name="IX-2095">Lexical Notes</a></h2>
173173
<p>In the lexical grammar, the various elements that come together to form a single token on
174174
the right-hand sides of rules must <var>not</var> be separated by whitespace, so that the end
175175
result will be a single token. This is in contrast to the phrase grammar, where each element

Background_and_Goals.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127

128128
<a name="HEADING-6-0"></a>
129129
<a name="UID-Introduction-2118"></a>
130-
<h1 class="section-title"><a name="IX-169"></a>Background and Goals</h1>
130+
<h1 class="section-title"><a name="IX-169">Background and Goals</a></h1>
131131
<p>Dylan is a general-purpose, high-level programming language, designed for use in
132132
application and systems programming. Dylan includes garbage collection, type-safety, error
133133
recovery, a module system, and programmer control over runtime extensibility of

Bindings.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ <h1 class="section-title">Bindings</h1>
151151
initialize or assign the binding to a value that is not of the correct type.</p>
152152
<p>A binding is either <dfn id="IX-227">constant</dfn>
153153
or <dfn id="IX-228">variable</dfn>. A constant
154-
(or <a name="IX-229"></a>read-only) binding always has the same value. In contrast, a
154+
(or <a name="IX-229">read-only</a>) binding always has the same value. In contrast, a
155155
variable (or writable) binding can have its value changed, using the assignment
156156
operator <code>:=</code>. Most bindings in a typical Dylan module are constant.</p>
157157

Built-In_Classes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131

132132
<a name="LINK-Built-In_Classes-firstpage"></a><a name="HEADING-87-0"></a>
133133
<a name="UID-Built-In_Classes-1378"></a>
134-
<h1 class="chapter-title"><a name="XREF-1359"></a>The Built-In Classes</h1>
134+
<h1 class="chapter-title"><a name="XREF-1359">The Built-In Classes</a></h1>
135135
<h2 class="chapter-title">Contents</h2>
136136

137137
<ul class="TOC">

Built-In_Classes_Overview.html

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,8 @@
132132

133133
<a name="HEADING-88-0"></a>
134134
<a name="UID-Built-In_Classes-12650"></a>
135-
<h1 class="section-title">Overview</h1>
136-
<p><a name="IX-1360"></a>This chapter contains an entry for every class defined by
137-
Dylan.</p>
135+
<h1 class="section-title"><a name="IX-1360">Overview</a></h1>
136+
<p>This chapter contains an entry for every class defined by Dylan.</p>
138137
<p>The superclasses listed for a class <var>C</var> are those classes defined by the Dylan
139138
language from which <var>C</var> most directly inherits. They are not required to be the
140139
direct superclasses of <var>C</var>, because implementations are free to insert
@@ -147,10 +146,10 @@ <h1 class="section-title">Overview</h1>
147146
free. A class may be specified as instantiable. If it is not, then it is
148147
uninstantiable. <a href="Sealing">Chapter 9, <q>Sealing,</q></a> contains a complete
149148
description of these characteristics.</p>
150-
<p><a name="IX-1361"></a><a name="IX-1362"></a>An implementation may choose to
151-
impose fewer restrictions than specified. For example, a class specified as sealed may be
152-
left open, and a class specified as primary may be left free. However, any program that
153-
takes advantage of this liberality will not be portable.</p>
149+
<p><a name="IX-1361"></a>An implementation may choose to impose fewer restrictions than
150+
specified. For example, a class specified as sealed may be left open, and a class specified
151+
as primary may be left free. However, any program that takes advantage of
152+
this <a name="IX-1362">liberality</a> will not be portable.</p>
154153
<p>Each class entry includes tables of operations defined on the class. These tables are cross
155154
references to <a href="Built-In_Functions">Chapter 12, <q>The Built-In Functions,</q></a>
156155
and represent redundant information. A function, generic function, or method is listed under

Built-In_Functions.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134

135135
<a name="LINK-Built-In_Functions-firstpage"></a><a name="HEADING-96-0"></a>
136136
<a name="UID-Built-In_Functions-20426"></a>
137-
<h1 class="chapter-title"><a name="XREF-1527"></a>The Built-In Functions</h1>
137+
<h1 class="chapter-title"><a name="XREF-1527">The Built-In Functions</a></h1>
138138
<h2 class="chapter-title">Contents</h2>
139139

140140
<ul class="TOC">

Built-In_Functions_Overview.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -135,24 +135,23 @@
135135

136136
<a name="HEADING-97-0"></a>
137137
<a name="UID-Built-In_Functions-20433"></a>
138-
<h1 class="section-title">Overview</h1>
139-
<p><a name="IX-1528"></a>This chapter contains an entry for each function defined by
140-
Dylan.</p>
141-
<p><a name="IX-1529"></a>The functions described below are annotated either as
138+
<h1 class="section-title"><a name="IX-1528">Overview</a></h1>
139+
<p>This chapter contains an entry for each function defined by Dylan.</p>
140+
<p>The functions described below are <a name="IX-1529">annotated</a> either as
142141
an <q>open generic function</q> or as a <q>function.</q></p>
143-
<p>A function specified as an <q><a name="IX-1530"></a>open generic function</q> can be
142+
<p>A function specified as an <q><a name="IX-1530">open generic function</a></q> can be
144143
extended through the addition of programmer defined methods. The signature of the generic
145144
function constrains which methods can be added through the congruency rules described
146145
on <a href="Parameter_Lists#XREF-837">page 93</a>. The signature does not imply a set
147-
of <a name="IX-1531"></a>predefined methods. For example, the signature
146+
of predefined <a name="IX-1531">methods</a>. For example, the signature
148147
of <code>+</code> is <code>(&lt;object&gt;, &lt;object&gt;)</code>, but the predefined
149148
methods on <code>+</code> only cover subtypes of <code>&lt;number&gt;</code>. Particular
150149
behavior of the function is given in its description and in the description of its
151150
methods.</p>
152151
<p><a name="IX-1532"></a>A function specified as a <q>function</q> cannot portably be
153152
extended through the addition of methods. Implementations are free to implement these
154153
functions as open generic functions, but programs that take advantage of
155-
such <a name="IX-1533"></a>liberality will not be portable. The signature of such a
154+
such <a name="IX-1533">liberality</a> will not be portable. The signature of such a
156155
function specifies the types of the arguments to which the function may be applicable, but
157156
does not necessarily imply that the function is applicable to all instances of the
158157
types. The exact behavior of the function is given in its description.</p>
@@ -161,7 +160,7 @@ <h1 class="section-title">Overview</h1>
161160
this liberality will not be portable.</p>
162161
<p>When a method is specified, it describes the behavior of a generic function when applied to
163162
arguments of particular types. It does not imply that this behavior is implemented by a
164-
single method. A method described as <q><a name="IX-1534"></a>sealed</q> specifies a
163+
single method. A method described as <q><a name="IX-1534">sealed</a></q> specifies a
165164
sealed domain covering the generic function and specializers of the method.</p>
166165
<p>Where a sealed domain is specified, implementations are free to seal the domain or leave
167166
the domain unsealed. Portable programs should not rely on the domain being

0 commit comments

Comments
 (0)