Commit 0eda2ac9 authored by paysan's avatar paysan

Another round of public review

parent 75b303d2
......@@ -67,9 +67,9 @@ PRICE = 90000
PRINTING = "Punchy Printing"
OPTIONS = 6.14x9.21,2004,tip,tipno,leo,isbn,bnw
LANG = american
#LINKCOLOR = blue
LINKCOLOR = blue
# for a printed version, use
LINKCOLOR = black
#LINKCOLOR = black
# BoD options:
# 6x9 for 6" x 9" format (standard US book format)
# 17x22 for 17cm x 22cm format (one of the standard metric formats)
......
......@@ -129,7 +129,7 @@ won't be used elsewhere, you don't need to define it as constant. Just use
the number 14 in both definitions:
\begin{Code}
: +RECORD 14 RECORDS +! ;
: +RECORD 14 RECORD# +! ;
: -RECORD -14 RECORD# +! ;
\end{Code}
On the other hand, if the value will be needed outside of the component,
......
......@@ -896,7 +896,7 @@ code we get:
Now we've achieved a nicer syntax, and at the same time greatly
reduced the size of the object code. With only two commands, as in
this example, the benefits may be marginal. But with larger sets of
commands the benefits increase geometrical.
commands the benefits increase geometrically.
Our final example is a set of words to represent colors on a
particular system. Names like \forth{BLUE} and \forth{RED} are nicer
......@@ -969,7 +969,7 @@ The phrase
\begin{Code}
OVER + SWAP
\end{Code}
may seem commonly in certain applications. (I converts an address and
may be seen commonly in certain applications. (It converts an address and
count into an ending address and starting address appropriate for a
\forthb{DO LOOP}.)\index{D!DO LOOP}
......@@ -989,7 +989,7 @@ words, such as (for the first phrase) \forth{RANGE}.
\begin{tfquot}
That particular phrase [\forthb{OVER}\forthb{ +}\forthb{ SWAP}] is one
that's right on the margin of being a useful word. Often, though if
that's right on the margin of being a useful word. Often, though, if
you define something as a word, it turns out you use it only once. If
you name such a phrase, you have trouble knowing exactly what
\forth{RANGE} does. You can't see the manipulation in your
......@@ -1214,7 +1214,7 @@ defining all the ports to get rid of the port address that's still on
the stack.
One final comment. The base-port address is very likely to change, and
therefor should be defined in only one place. This does \emph{not}
therefore should be defined in only one place. This does \emph{not}
mean it has to be defined as a constant. Provided that the base-port
address won't be used outside of this lexicon of port names, it's just
as well to refer to it by number here.
......
......@@ -96,7 +96,7 @@ anything below that.
To stretch our analogy to the limit, perhaps three elements on the
stack corresponds to the three English pronouns ``this,'' ``that,'' and
``th'other.''%
``t'other.''%
\index{D!Data stacks!concept of|)}
\subsection{Redesign}
......@@ -315,7 +315,7 @@ any two points, diagonally, if necessary.
In drawing our box, we may only need perfectly vertical and horizontal
lines. In this case we can write the more powerful, but less specific,
words \forth{VERTICAL} and \forth{HORIZONTAL} to draw these lines. Each
requires only \emph{three} arguments: the starting position's x and y and
requires only \emph{three} arguments: the starting position's x and y, and
the length. This factoring of function simplifies the definition of
\forth{[BOX].}
......@@ -386,7 +386,7 @@ Code like this is hard to read and harder to modify.%
When you do have a cumbersome stack situation to solve, it's best to work
it out with paper and pencil. Some people even make up forms, such as the
one in \Fig{fig7-1}. Done formally like this (instead of on the back of your
phone bill) stack commentaries serve as nice auxiliary documentation.
phone bill), stack commentaries serve as nice auxiliary documentation.
\subsection{Stack Tips}
......@@ -1369,9 +1369,9 @@ We write:
DOER ANNOUNCE
: LONG MAKE ANNOUNCE
CR ." You're in a large hall with a huge throne"
CR ." covered with a red velvet canopy. "
CR ." covered with a red velvet canopy."
MAKE ANNOUNCE
CR ." You' re in the throne room. " ;
CR ." You're in the throne room." ;
\end{Code}
The word \forth{ANNOUNCE} will display either message. First we say
\forth{LONG}, to initialize \forth{ANNOUNCE} to the long message. Now we
......
......@@ -869,7 +869,7 @@ Screen 150, or if testing, the next screen past it.%
\index{C!Control structure minimization!tricks|(}
This sort of approach is often labeled a ``trick.'' In the computing
industry at large, tricks have a bad rep.
industry at large, tricks have a bad reputation.
A trick is simply taking advantage of certain properties of operation.
Tricks are used widely in engineering applications. Chimneys
......
......@@ -24,6 +24,6 @@ With all this, I believe that many of the ideas in \emph{Thinking
Moore}'s comments remain a telling insight on the philosophy that
triggered the development of \Forth{}.
I with to thank \person{Marlin Ouverson} for his excellent job, patiently
I wish to thank \person{Marlin Ouverson} for his excellent job, patiently
struggling against incompatible file formats and OCR errors, to bring
this reprint to life.
......@@ -109,7 +109,7 @@ footskip=0.5in,marginparwidth=0.6in,marginparsep=0.1in}}
\DeclareOption{isbn}{\isbntrue}
\DeclareOption{initial}{\initialtrue}
\DeclareOption{preliminary}{\prelimtrue}
\DeclareOption{bnw}{\bnwtrue\gdef\linkcolor{black}}
\DeclareOption{bnw}{\bnwtrue\newgray{blue}{0}}
\ExecuteOptions{}
\ProcessOptions
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment