Skip to content

Commit adc6ca2

Browse files
martin-henzmartin-henz
andauthored
fixes #612 (#752)
Co-authored-by: martin-henz <martin.henz@gmail.com>
1 parent 9eaaace commit adc6ca2

Some content is hidden

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

42 files changed

+79
-81
lines changed

xml/chapter1/section1/subsection2.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,9 +295,9 @@ circumference;
295295
</SPLITINLINE>
296296
since we will see later that a
297297
computation may involve a number of different
298-
environments).<FOOTNOTE>Chapter<SPACE/>3 will show that this notion of
298+
environments).<FOOTNOTE>Chapter<SPACE/><REF NAME="chap:state"></REF> will show that this notion of
299299
environment is crucial for understanding how the interpreter works.
300-
Chapter<SPACE/>4 will use environments for implementing
300+
Chapter<SPACE/><REF NAME="chap:meta"></REF> will use environments for implementing
301301
interpreters.</FOOTNOTE>
302302
</TEXT>
303303
</SUBSECTION>

xml/chapter1/section1/subsection5.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,15 +385,15 @@ square(6) + square(10)
385385
Over the course of this book, we will present a sequence of
386386
increasingly elaborate models of how interpreters work, culminating
387387
with a complete implementation of an interpreter and compiler in
388-
chapter<SPACE/>5. The substitution model is only the first of
388+
chapter<SPACE/><REF NAME="chap:reg"></REF>. The substitution model is only the first of
389389
these models<EMDASH/>a way to get started thinking formally
390390
about the evaluation process. In general, when
391391
<INDEX>modeling<SUBINDEX>in science and engineering</SUBINDEX></INDEX>
392392
modeling phenomena in science and engineering, we begin with
393393
simplified, incomplete models. As we examine things in greater detail,
394394
these simple models become inadequate and must be replaced by more
395395
refined models. The substitution model is no exception. In particular,
396-
when we address in chapter<SPACE/>3 the use of
396+
when we address in chapter<SPACE/><REF NAME="chap:state"></REF> the use of
397397
<SPLITINLINE>
398398
<SCHEME>procedures</SCHEME>
399399
<JAVASCRIPT>functions</JAVASCRIPT>

xml/chapter1/section1/subsection7.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function sqrt(x) {
127127
enough so that, given <QUOTE>what is</QUOTE> knowledge specified by the
128128
programmer, they can generate <QUOTE>how to</QUOTE> knowledge automatically.
129129
This cannot be done in general, but there are important areas where progress
130-
has been made. We shall revisit this idea in chapter<SPACE/>4.</FOOTNOTE>
130+
has been made. We shall revisit this idea in chapter<SPACE/><REF NAME="chap:meta"></REF>.</FOOTNOTE>
131131
<SPLITINLINE>
132132
<SCHEME>
133133
<INDEX>procedure<SUBINDEX>mathematical function vs.<CLOSE/></SUBINDEX></INDEX>

xml/chapter1/section1/subsection8.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,7 @@ function sqrt(x) {
11761176
function was declared.
11771177
</JAVASCRIPT>
11781178
</SPLITINLINE>
1179-
We will see how this works in detail in chapter<SPACE/>3 when we
1179+
We will see how this works in detail in chapter<SPACE/><REF NAME="chap:state"></REF> when we
11801180
study environments and the detailed behavior of the interpreter.</FOOTNOTE>
11811181
<SNIPPET>
11821182
<INDEX><DECLARATION>sqrt</DECLARATION><SUBINDEX>block structured</SUBINDEX></INDEX>

xml/chapter1/section2/subsection1.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ function fact_iter(product, counter, max_count) {
318318
<SCHEME>procedures</SCHEME>
319319
<JAVASCRIPT>functions</JAVASCRIPT>
320320
</SPLITINLINE>
321-
on register machines in chapter<SPACE/>5, we will see that any iterative
321+
on register machines in chapter<SPACE/><REF NAME="chap:reg"></REF>, we will see that any iterative
322322
process can be realized <QUOTE>in hardware</QUOTE> as a machine that has a
323323
fixed set of registers and no auxiliary memory. In contrast, realizing a
324324
recursive process requires a machine that uses an
@@ -435,7 +435,7 @@ function fact_iter(product, counter, max_count) {
435435
<SCHEME>Scheme</SCHEME>
436436
<JAVASCRIPT>JavaScript</JAVASCRIPT>
437437
</SPLITINLINE>
438-
we shall consider in chapter<SPACE/>5 does not share this defect. It will
438+
we shall consider in chapter<SPACE/><REF NAME="chap:reg"></REF> does not share this defect. It will
439439
execute an iterative process in constant space, even if the iterative
440440
process is described by a recursive
441441
<SPLITINLINE>
@@ -458,7 +458,7 @@ function fact_iter(product, counter, max_count) {
458458
Carl <CITATION>Hewitt (1977)</CITATION>, who explained it in
459459
<INDEX>message passing<SUBINDEX>tail recursion and</SUBINDEX></INDEX>
460460
terms of the <QUOTE>message-passing</QUOTE> model of computation that we
461-
shall discuss in chapter<SPACE/>3. Inspired by this, Gerald Jay Sussman
461+
shall discuss in chapter<SPACE/><REF NAME="chap:state"></REF>. Inspired by this, Gerald Jay Sussman
462462
and
463463
<INDEX>Steele, Guy Lewis Jr.</INDEX>
464464
Guy Lewis Steele Jr.<SPACE/>(see <CITATION>Steele 1975</CITATION>)
@@ -481,7 +481,7 @@ function fact_iter(product, counter, max_count) {
481481
Carl Hewitt (1977), who explained it in
482482
<INDEX>message passing<SUBINDEX>tail recursion and</SUBINDEX></INDEX>
483483
terms of the <QUOTE>message-passing</QUOTE> model of computation that we
484-
shall discuss in chapter<SPACE/>3. Inspired by this, Gerald Jay Sussman
484+
shall discuss in chapter<SPACE/><REF NAME="chap:state"></REF>. Inspired by this, Gerald Jay Sussman
485485
and
486486
<INDEX>Steele, Guy Lewis Jr.</INDEX>
487487
Guy Lewis Steele Jr.<SPACE/>(see <CITATION>Steele 1975</CITATION>)

xml/chapter1/section2/subsection5.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<LATEXINLINE>$a$</LATEXINLINE> and <LATEXINLINE>$b$</LATEXINLINE> is defined
1010
to be the largest integer that divides both <LATEXINLINE>$a$</LATEXINLINE>
1111
and <LATEXINLINE>$b$</LATEXINLINE> with no remainder. For example, the GCD
12-
of 16 and 28 is 4. In chapter<SPACE/>2, when we investigate how to
12+
of 16 and 28 is 4. In chapter<SPACE/><REF NAME="chap:data"></REF>, when we investigate how to
1313
implement rational-number arithmetic, we will need to be able to compute
1414
GCDs in order to reduce rational numbers to lowest terms. (To reduce a
1515
rational number to lowest terms, we must divide both the numerator and the

xml/chapter1/section3/subsection4.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ sqrt(6);
732732
<LI>
733733
They may be included in data structures.<FOOTNOTE>We<APOS/>ll see
734734
examples of this after we introduce data structures in
735-
chapter<SPACE/>2.</FOOTNOTE>
735+
chapter<SPACE/><REF NAME="chap:data"></REF>.</FOOTNOTE>
736736
</LI>
737737
</UL>
738738
<SPLITINLINE>

xml/chapter2/chapter2.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<INDEX>compound data, need for<OPEN/></INDEX>
6464
<INDEX>data<SUBINDEX>compound</SUBINDEX><OPEN/></INDEX>
6565
<NOINDENT/>
66-
We concentrated in chapter<SPACE/>1 on computational processes and on the
66+
We concentrated in chapter<SPACE/><REF NAME="chap:fun"></REF> on computational processes and on the
6767
role of
6868
<SPLITINLINE>
6969
<SCHEME>procedures</SCHEME>
@@ -119,12 +119,12 @@
119119
<SCHEME>procedures</SCHEME>
120120
<JAVASCRIPT>functions</JAVASCRIPT>
121121
</SPLITINLINE>
122-
in chapter<SPACE/>1 operate on simple numerical data, and simple data are
122+
in chapter<SPACE/><REF NAME="chap:fun"></REF> operate on simple numerical data, and simple data are
123123
not sufficient for many of the problems we wish to address using
124124
computation. Programs are typically designed to model complex phenomena,
125125
and more often than not one must construct computational objects that have
126126
several parts in order to model real-world phenomena that have several
127-
aspects. Thus, whereas our focus in chapter<SPACE/>1 was on building
127+
aspects. Thus, whereas our focus in chapter<SPACE/><REF NAME="chap:fun"></REF> was on building
128128
abstractions by combining
129129
<SPLITINLINE>
130130
<SCHEME>procedures</SCHEME>
@@ -394,7 +394,7 @@ function linear_combination(a, b, x, y) {
394394
<JAVASCRIPT><QUOTE>function</QUOTE></JAVASCRIPT>
395395
</SPLITINLINE>
396396
and <QUOTE>data,</QUOTE> which was already becoming tenuous toward the end
397-
of chapter<SPACE/>1. We will also explore some conventional techniques for
397+
of chapter<SPACE/><REF NAME="chap:fun"></REF>. We will also explore some conventional techniques for
398398
representing sequences and trees. One key idea in dealing with compound
399399
data is the notion of
400400
<INDEX>closure</INDEX>

xml/chapter2/section1/subsection3.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ head(x);
479479
repertoire. This style of programming is often called
480480
<INDEX>message passing</INDEX>
481481
<EM>message passing</EM>, and we will be using it as a basic tool in
482-
chapter<SPACE/>3 when we address the issues of modeling and simulation.
482+
chapter<SPACE/><REF NAME="chap:state"></REF> when we address the issues of modeling and simulation.
483483
</TEXT>
484484
<EXERCISE>
485485
Here is an alternative

xml/chapter2/section2/section2.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
themselves are made up of parts, and so on.
153153
</TEXT>
154154
<TEXT>
155-
From the outset of chapter<SPACE/>1, we<APOS/>ve made essential use of
155+
From the outset of chapter<SPACE/><REF NAME="chap:fun"></REF>, we<APOS/>ve made essential use of
156156
closure in dealing with
157157
<SPLITINLINE>
158158
<SCHEME>procedures,</SCHEME>

0 commit comments

Comments
 (0)