From f76cfe7f1aa78ce2c01fe8cf35d4e96c4c597bc7 Mon Sep 17 00:00:00 2001 From: crc Date: Wed, 23 Jan 2019 13:08:04 +0000 Subject: [PATCH] add missing entries to glossary FossilOrigin-Name: 0d8396e38d5bcbfc459f4aba3c84ee3d6152e4e077be6284d9e936ece8a2871f --- doc/Glossary.txt | 60 ++++++++++++++++++++++++++++++++++++++++++++++++ words.tsv | 5 ++++ 2 files changed, 65 insertions(+) diff --git a/doc/Glossary.txt b/doc/Glossary.txt index a002074..649ff27 100644 --- a/doc/Glossary.txt +++ b/doc/Glossary.txt @@ -47,6 +47,22 @@ Example #1: ------------------------------------------------------------------------ +- + + Data: nn-n + Addr: - + Float: - + +Subtract `n2` from `n1` and return the result. + +Class: class:primitive | Namespace: global | Interface Layer: all + +Example #1: + + #2 #1 - + +------------------------------------------------------------------------ + ---reveal--- Data: - @@ -648,6 +664,17 @@ Access the grandparent loop index for the current loop. (For loops made using `t Class: class:word | Namespace: global | Interface Layer: all ------------------------------------------------------------------------ +NoEcho + + Data: -a + Addr: - + Float: - + +Variable. If TRUE, allow display of the "ok" prompt and startup banner. + +Class: class:word | Namespace: global | Interface Layer: rre +------------------------------------------------------------------------ + RewriteUnderscores Data: -a @@ -2681,6 +2708,28 @@ Return the number of I/O devices. Class: class:word | Namespace: {n/a} | Interface Layer: all ------------------------------------------------------------------------ +io:file-operation + + Data: ...n- + Addr: - + Float: - + +Trigger a file I/O operation. This is not intended to be used directly. + +Class: class:word | Namespace: io | Interface Layer: rre +------------------------------------------------------------------------ + +io:float-operation + + Data: ...n- + Addr: - + Float: - + +Trigger a floating point operation. This is not intended to be used directly. + +Class: class:word | Namespace: io | Interface Layer: rre +------------------------------------------------------------------------ + io:invoke Data: n- @@ -2714,6 +2763,17 @@ Scan the I/O devices for a device with a specified ID. Returns the device number Class: class:word | Namespace: {n/a} | Interface Layer: all ------------------------------------------------------------------------ +io:unix-syscall + + Data: ...n- + Addr: - + Float: - + +Trigger a Unix system call. This is not intended to be used directly. + +Class: class:word | Namespace: io | Interface Layer: rre +------------------------------------------------------------------------ + ios:list-fonts Data: - diff --git a/words.tsv b/words.tsv index 5728107..be99518 100644 --- a/words.tsv +++ b/words.tsv @@ -1,6 +1,7 @@ * nn-n - - Multiply `n1` by `n2` and return the result. class:primitive #2 #6 *\n #-1 #100 * {n/a} global all + nn-n - - Add `n1` to `n2` and return the result. class:primitive #1 #2 + {n/a} global all , n- - - Store the specified value into the memory at `here` and increment `Heap` by 1. class:word $a , $b , $c , #0 , {n/a} global all +- nn-n - - Subtract `n2` from `n1` and return the result. class:primitive #2 #1 - {n/a} global all ---reveal--- - - - Switch to the exposed (public) portion of a lexical namespace. class:word {n/a} {n/a} global all -eq? nn-f - - Compare two values for inequality. Returns `TRUE` if they are not equal or `FALSE` otherwise. class:primitive #1 #2 -eq?\n $a $b -eq? {n/a} global all -if fq- - - Execute the quotation if the flag is `FALSE`. class:word {n/a} {n/a} global all @@ -54,6 +55,7 @@ Heap -a - - Variable. Holds the address of the next available cell. class:data I -n - - Access the loop index for the current loop. (For loops made using `times`) class:word {n/a} {n/a} global all J -n - - Access the parent loop index for the current loop. (For loops made using `times`) class:word {n/a} {n/a} global all K -n - - Access the grandparent loop index for the current loop. (For loops made using `times`) class:word {n/a} {n/a} global all +NoEcho -a - - Variable. If TRUE, allow display of the "ok" prompt and startup banner. class:word {n/a} {n/a} global rre RewriteUnderscores -a - - Variable. When set to `TRUE`, RETRO will replace underscores in strings with spaces. When `FALSE`, RETRO does not. class:data {n/a} {n/a} global all STRINGS -a - - Return the address of the start of the temporary string pool. class:word {n/a} {n/a} global all ScopeList -a - - Variable. This holds some information used by `{{` and `}}`. class:data {n/a} {n/a} global all @@ -230,9 +232,12 @@ immediate - - - Change the class of the most recently defined word to `class:mac include s- - - Run the code in the specified file. class:word {n/a} {n/a} global rre interpret s- - - Interpret a single input token. class:word '#100 interpret\n 'words interpret {n/a} global all io:enumerate -n - - Return the number of I/O devices. class:word {n/a} {n/a} {n/a} all +io:file-operation ...n- - - Trigger a file I/O operation. This is not intended to be used directly. class:word {n/a} {n/a} io rre +io:float-operation ...n- - - Trigger a floating point operation. This is not intended to be used directly. class:word {n/a} {n/a} io rre io:invoke n- - - Invoke an interaction with an I/O device. class:word {n/a} {n/a} {n/a} all io:query n-mN - - Ask an I/O device to identify itself. Returns a version (m) and device ID (N). class:word {n/a} {n/a} {n/a} all io:scan-for n-m - - Scan the I/O devices for a device with a specified ID. Returns the device number, or -1 if not found. class:word {n/a} {n/a} {n/a} all +io:unix-syscall ...n- - - Trigger a Unix system call. This is not intended to be used directly. class:word {n/a} {n/a} io rre ios:list-fonts - - - Display a list of all installed fonts. class:word {n/a} {n/a} ios iOS listen - - - Run interactive "listener" (a REPL). class:word {n/a} {n/a} global rre lt? nn-f - - Compare n1 and n2. Return `TRUE` if n1 is less than n2, or `FALSE` otherwise. class:primitive {n/a} {n/a} global all