Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Bernd Paysan
forth-standard
Commits
2a0e5286
Commit
2a0e5286
authored
Nov 09, 2013
by
pknaggs
Browse files
Corrected typeos
parent
a7ffa877
Changes
4
Hide whitespace changes
Inline
Side-by-side
core.tex
View file @
2a0e5286
...
...
@@ -4394,7 +4394,7 @@
\begin{rationale}
% A.6.2.0620 ?DO
Typical use:
\tab
\place
{
ed13
}{
\word
{
:
}
X
{
\ldots
}}
\word
{
qDO
}
{
\ldots
}
\word
{
LOOP
}
\place
{
ed13
}{{
\ldots
}
\word
{
;
}}
\tab
\place
{
ed13
}{
\word
{
:
}
\texttt
{
X
}
{
\ldots
}}
\word
{
qDO
}
{
\ldots
}
\word
{
LOOP
}
\place
{
ed13
}{{
\ldots
}
\word
{
;
}}
\end{rationale}
\begin{testing}
\ttfamily
...
...
diff.tex
View file @
2a0e5286
...
...
@@ -179,7 +179,7 @@ unit testing for the proposed change, especially for border conditions.
See
\xref
[Process]
{
process
}
(page
\pageref
{
process
}
) for a full description.
\section
{
Differences from Forth 94
}
% D.
6
\section
{
Differences from Forth 94
}
% D.
7
\label
{
diff:forth94
}
\cbstart\patch
{
x:obsolete
}
...
...
@@ -237,7 +237,7 @@ been removed from this standard.}
\end{description}
\patch
{
x:fp-stack
}
\subsection
[Obsolescent features]
{
\sout
{
Obsolescent features
}}
\subsection
[Obsolescent features]
{
\sout
{
Obsolescent features
}}
% D.7.2
\label
{
diff:94:obsolete
}
\sout
{
This standard has designated the following practice as obsolescent:
}
...
...
@@ -326,7 +326,7 @@ mechanism, but rather to mark it as obsolescent.}
\uline
{
Forth 94 did not guarantee the presence of these queries. Many
systems that provided all the words in a particular word set did not
provide the corresponding query. Portable programs are not affected
as they could not re
p
ly on this function.
}
as they could not rely on this function.
}
\item
[Transition/Conversion:]
~
\\
\uline
{
There is no direct equivalent to determine the presence of a whole
...
...
@@ -349,7 +349,7 @@ mechanism, but rather to mark it as obsolescent.}
\patch
{
x:throw-iors
}
\subsection
[Input/Output return values]
{
\uline
{
Input/Output return values
}}
\subsection
[Input/Output return values]
{
\uline
{
Input/Output return values
}}
% D.7.5
\label
{
diff:12:ior
}
\begin{description}
...
...
@@ -376,7 +376,7 @@ mechanism, but rather to mark it as obsolescent.}
\item
[\uline{Reason:}]
~
\\
\uline
{
Forth 94 left the error code (
\param
{
ior
}
) implementation-defined,
although it did recommend an
\param
{
ior
}
be a
\word
[exception]
{
THROW
}
although it did recommend an
\param
{
ior
}
to
be a
\word
[exception]
{
THROW
}
code. Forth 2012 now requires an
\param
{
ior
}
to be a
\word
[exception]
{
THROW
}
code.
}
...
...
@@ -393,7 +393,7 @@ mechanism, but rather to mark it as obsolescent.}
\patch
{
x:local
}
\subsection
[Minimum number of locals]
{
\uline
{
Minimum number of locals
}}
\subsection
[Minimum number of locals]
{
\uline
{
Minimum number of locals
}}
% D.7.6
\label
{
diff:12:locals
}
\begin{description}
...
...
@@ -409,7 +409,7 @@ mechanism, but rather to mark it as obsolescent.}
\end{description}
\patch
{
x:prefix
}
\subsection
[Number prefixes]
{
\uline
{
Number prefixes
}}
\subsection
[Number prefixes]
{
\uline
{
Number prefixes
}}
% D.7.7
\label
{
diff:12:prefix
}
\uline
{
Decimal, hexadecimal, binary number literals can now be written
...
...
@@ -423,7 +423,7 @@ recognize these forms.}
\patch
{
x:source-id
}
\subsection
[SOURCE-ID Clarification]
{
\uline
{
\word
{
SOURCE-ID
}
Clarification
}}
\subsection
[SOURCE-ID Clarification]
{
\uline
{
\word
{
SOURCE-ID
}
Clarification
}}
% D.7.7
\label
{
diff:12:sourceid
}
\uline
{
%
...
...
@@ -433,7 +433,7 @@ undefined.}
\patch
{
x:FASINH
}
\subsection
[FASINH]
{
\uline
{
\word
[floating]
{
FASINH
}}}
\subsection
[FASINH]
{
\uline
{
\word
[floating]
{
FASINH
}}}
% D.7.9
\label
{
diff:12:fasinh
}
\uline
{
An ambiguous condition on
\param
{
r1
}
being less than 0 was removed.
}
...
...
@@ -442,7 +442,7 @@ undefined.}
unlikely to be affected.
}
\patch
{
x:FATAN2
}
\subsection
[FATAN2]
{
\uline
{
\word
[floating]
{
FATAN2
}}}
\subsection
[FATAN2]
{
\uline
{
\word
[floating]
{
FATAN2
}}}
% D.7.10
\label
{
diff:12:fatan2
}
\begin{description}
...
...
@@ -464,7 +464,7 @@ unlikely to be affected.}
% =========================================================
\section
{
Additional words
}
\section
{
Additional words
}
% D.8
\label
{
diff:new12
}
The following words have been added to the standard:
...
...
tools.tex
View file @
2a0e5286
...
...
@@ -92,7 +92,7 @@ See: \xref[3.3 The Forth dictionary]{usage:dict}.
\item
\wref
{
core:IMMEDIATE
}{}
is applied to a word defined by
\wref
{
tools:SYNONYM
}{}
.
\item
\wref
{
tools:NRfrom
}{}
is used with data not stored by
\wref
{
tools:NtoR
}{}
.
\item
\place
{
x:traverse-wordlist
}{
adding to or deleting from the wordlist during the
execution of
\w
ord
{
TRAVERSE-WORDLIST
}
.
}
execution of
\w
ref
{
tools:
TRAVERSE-WORDLIST
}
.
}
\end{itemize}
...
...
@@ -666,7 +666,7 @@ Extensions word sets.
\param
{
x xt
}
represents the compilation semantics of the word
\param
{
nt
}
. The returned
\param
{
xt
}
has the stack effect
% \stack{i*x x}{j*x}.
(
\param
{
i*x x
}
-
{}
-
\param
{
j*x
}
)
(
\param
{
i*x x
}
-
{}
-
\param
{
j*x
}
)
.
\word
{
EXECUTE
}
ing
\param
{
xt
}
consumes
\param
{
x
}
and performs the compilation semantics of the word
represented by
\param
{
nt
}
.
...
...
xchar.tex
View file @
2a0e5286
...
...
@@ -168,16 +168,16 @@ In section \xref{usage:numbers}{}, \arg{cnum} should be redefined to be:
\word
[file]
{
WRITE-FILE
}
, and
\word
[file]
{
WRITE-LINE
}
operate on
\emph
{
pchars
}
. Therefore, it is possible that these words
read or write incomplete xchars, which are completed in the next
read or write incomplete
\emph
{
xchars
}
, which are completed in the next
consecutive operation(s). The IO system shall combine these
\emph
{
pchars
}
into a complete xchar on output, or split an
xchar into
\emph
{
p
chars
}
o
n
input, and shall not throw a ``malformed
xchar'' exception when the
combination of these
\emph
{
pchars
}
indeed
form
s
a valid
xchar.
\word
[xchar]
{
-TRAILING-GARBAGE
}
can be used to process
an incomplete xchar
at the end of such an IO operation.
}
into a complete
\emph
{
xchar
s
}
on output, or split an
\emph
{
x
chars
}
int
o
\emph
{
pchars
}
on
input, and shall not throw a ``malformed
\emph
{
xchars
}
''
exception when the
combination of these
\emph
{
pchars
}
form a valid
\emph
{
xchars
}
.
\word
[xchar]
{
-TRAILING-GARBAGE
}
can be used to process
an incomplete
\emph
{
xchars
}
at the end of such an IO operation.
}
\uline
{
\word
{
ACCEPT
}
as input editor may be aware of xchars to
provide comfort like
backspace or cursor movement.
}
\uline
{
\word
{
ACCEPT
}
as input editor may be aware of
\emph
{
xchars
}
to
provide comfort like
backspace or cursor movement.
}
\cbend
\section
{
Additional documentation requirements
}
% 18.4
...
...
@@ -192,14 +192,14 @@ work with xchars in the string.} Since Unicode input and display poses a
number of challenges like input method editors for different languages,
left-to-right and right-to-left writing, and most fonts contain only a subset
of Unicode glyphs, systems should document their capabilities. File IO and
in-memory string handling should work transparently with xchars.
in-memory string handling should work transparently with
\emph
{
xchars
}
.
\subsubsection
{
Ambiguous conditions
}
% 18.4.1.2
\begin{itemize}
\item
the data in memory does not encode a valid xchar
(
\wref
{
xchar:X-SIZE
}{}
);
\item
the xchar value is outside the range of allowed code points of
\item
the
\emph
{
xchar
s
}
value is outside the range of allowed code points of
the current character set used.
\item
words improperly used outside
\wref
{
core:num-start
}{
<
\num
}
and
\wref
{
core:num-end
}{
\num
>
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment