check in missing Glossary documents

FossilOrigin-Name: 6f7566eab5a787d4336a97008c00226f3a5a9c31d13ff65a2d21a7df32aa8a8d
This commit is contained in:
crc 2017-10-20 02:54:10 +00:00
parent 5e87818898
commit dec6cf3da3
3 changed files with 3107 additions and 0 deletions

131
doc/Glossary-Files.txt Normal file
View file

@ -0,0 +1,131 @@
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
file:R
-n
Constant for opening a file in READ mode.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
file:R+
-n
Constant for opening a file in READ & WRITE
mode.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
file:W
-n
Constant for opening a file in WRITE mode.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
file:A
-n
Constant for opening a file in APPEND mode.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
file:open
sm-h
Open a named file (`s`) with the given mode
(`m`). Returns a handle identifying the file.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
file:close
h-
Given a file handle, close the file.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
file:read
h-c
Given a file handle, read and return the next
character in it.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
file:write
ch-
Write a character to the file represented by
the handle.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
file:tell
h-n
Return the current offset into a file.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
file:seek
nh-
Move the current offset into a file to the
specified one.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
file:size
h-n
Given a file handle, return the size of the
file in bytes.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
file:delete
s-
Given a file name, delete the file.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
file:flush
h-
Given a handle, flush any pending writes to
disk.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
file:exists?
s-f
Given a file name, return `TRUE` if it exists
or `FALSE` if it does not.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
file:slurp
as-
Given an address and a filename, read the
file contents into the buffer starting at
the address.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

View file

@ -0,0 +1,331 @@
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
s:to-float
Stack:
s-
Floating Stack:
-f
Convert a string into a floating point value.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
n:to-float
Stack:
n-
Floating Stack:
-f
Convert a number into a floating point value.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:to-string
Stack:
-s
Floating Stack:
f-
Convert a floating point value into a string.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:+
Floating Stack:
ab-c
Add two floating point values.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:-
Floating Stack:
ab-c
Subtract floating point value b from a.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:*
Floating Stack:
ab-c
Multiply two floating point values.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:/
Floating Stack:
ab-c
Divide floating point value a by b.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:floor
Floating Stack:
a-b
Perform a mathmatical floor operation on the
floating point value a.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:dup
Floating Stack:
a-aa
Duplicate a floating point value.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:drop
Floating Stack:
a-
Discard a floating point value.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:swap
Floating Stack:
ab-ba
Swap the position of the top two floating
point values.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:depth
Stack:
-n
Floating Stack:
-
Push the current depth of the floating point
stack to the data stack.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:tuck
Floating Stack:
ab-bab
Tuck a copy of the top floating point value
under the second one.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:over
Floating Stack:
ab-aba
Put a copy of the second floating point value
over the top one.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:eq?
Stack:
-f
Floating Stack:
ab-
Compare two floating point values for
equality.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:-eq?
Stack:
-f
Floating Stack:
ab-
Compare two floating point values for
inequality.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:lt?
Stack:
-f
Floating Stack:
ab-
Compare two floating point values for less
than.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:gt?
Stack:
-f
Floating Stack:
ab-
Compare two floating point values for greater
than.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:negate
Floating Stack:
a-b
Invert the sign of the floating point value.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:negative?
Stack:
-f
Floating Stack:
a-
Return `TRUE` if floating point value is
negative or `FALSE` if not.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:positive?
Stack:
-f
Floating Stack:
a-
Return `TRUE` if floating point value is
positive or `FALSE` if not.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:abs
Floating Stack:
a-b
Return the absolute value for a floating
point value.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:to-number
Stack:
-n
Floating Stack:
n-
Convert a floating point value into a number.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:log
Floating Stack:
ab-c
Return log(a) for base b for floating point
values.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
f:power
Floating Stack:
ab-c
Return a^b for floating point values.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
prefix:.
Floating Stack:
-a
Parse token as a floating point value and
push to floating stack or compile code to
do so.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
putf
Floating Stack:
f-
Display a floating point value.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

2645
doc/Glossary.txt Normal file

File diff suppressed because it is too large Load diff