diff --git a/doc/Glossary-Concise.txt b/doc/Glossary-Concise.txt index 22ab3b6..38282f5 100644 --- a/doc/Glossary-Concise.txt +++ b/doc/Glossary-Concise.txt @@ -934,6 +934,18 @@ Fetch the value stored at the specified address. fetch-next D: a-an A: - F: - Fetch the value stored at the specified address. Returns the next address and the value. +ffi:invoke D: n- A: - F: - +Invoke an FFI function. Set the stack as needed, and pass the FFI handle to this. + +ffi:map-sym D: sn-n A: - F: - +Map in a symbol from a shared library or object file. Returns an FFI handle. + +ffi:open D: s-n A: - F: - +Open a shared library or object file. + +ffi:operation D: n-? A: - F: - +Trigger an i/o operation using the FFI device. + file:A D: -n A: - F: - Constant for opening a file in APPEND mode. diff --git a/doc/Glossary-Names-and-Stack.txt b/doc/Glossary-Names-and-Stack.txt index 662a870..77cde10 100644 --- a/doc/Glossary-Names-and-Stack.txt +++ b/doc/Glossary-Names-and-Stack.txt @@ -310,6 +310,10 @@ f:to-string D: -s A: - F: F- f:tuck D: - A: - F: FG-GFG fetch D: a-n A: - F: - fetch-next D: a-an A: - F: - +ffi:invoke D: n- A: - F: - +ffi:map-sym D: sn-n A: - F: - +ffi:open D: s-n A: - F: - +ffi:operation D: n-? A: - F: - file:A D: -n A: - F: - file:R D: -n A: - F: - file:R+ D: -n A: - F: - diff --git a/doc/Glossary.html b/doc/Glossary.html index 70f361b..6f438ea 100644 --- a/doc/Glossary.html +++ b/doc/Glossary.html @@ -2322,6 +2322,34 @@

Fetch the value stored at the specified address. Returns the next address and the value.

Class: class:word
Namespace: global
Interface Layer: all

+

ffi:invoke

+

Data: n-
+Addr: -
+Float: -

+
+

Invoke an FFI function. Set the stack as needed, and pass the FFI handle to this.

+
Class: class:wrd
Namespace: ffi
Interface Layer: rre

+

ffi:map-sym

+

Data: sn-n
+Addr: -
+Float: -

+
+

Map in a symbol from a shared library or object file. Returns an FFI handle.

+
Class: class:word
Namespace: ffi
Interface Layer: rre

+

ffi:open

+

Data: s-n
+Addr: -
+Float: -

+
+

Open a shared library or object file.

+
Class: class:word
Namespace: ffi
Interface Layer: rre

+

ffi:operation

+

Data: n-?
+Addr: -
+Float: -

+
+

Trigger an i/o operation using the FFI device.

+
Class: class:word
Namespace: ffi
Interface Layer: rre

file:A

Data: -n
Addr: -
diff --git a/doc/Glossary.txt b/doc/Glossary.txt index 72deac0..c8781a8 100644 --- a/doc/Glossary.txt +++ b/doc/Glossary.txt @@ -3597,6 +3597,50 @@ Fetch the value stored at the specified address. Returns the next address and th Class: class:word | Namespace: global | Interface Layer: all ------------------------------------------------------------------------ +ffi:invoke + + Data: n- + Addr: - + Float: - + +Invoke an FFI function. Set the stack as needed, and pass the FFI handle to this. + +Class: class:wrd | Namespace: ffi | Interface Layer: rre +------------------------------------------------------------------------ + +ffi:map-sym + + Data: sn-n + Addr: - + Float: - + +Map in a symbol from a shared library or object file. Returns an FFI handle. + +Class: class:word | Namespace: ffi | Interface Layer: rre +------------------------------------------------------------------------ + +ffi:open + + Data: s-n + Addr: - + Float: - + +Open a shared library or object file. + +Class: class:word | Namespace: ffi | Interface Layer: rre +------------------------------------------------------------------------ + +ffi:operation + + Data: n-? + Addr: - + Float: - + +Trigger an i/o operation using the FFI device. + +Class: class:word | Namespace: ffi | Interface Layer: rre +------------------------------------------------------------------------ + file:A Data: -n diff --git a/doc/words.tsv b/doc/words.tsv index bd8dd39..a0baf44 100644 --- a/doc/words.tsv +++ b/doc/words.tsv @@ -310,6 +310,10 @@ f:to-string -s - F- Convert a floating-point value into a string. class:word { f:tuck - - FG-GFG Tuck a copy of the top floating-point value under the second one. class:word {n/a} {n/a} f rre fetch a-n - - Fetch the value stored at the specified address. class:primitive &Version fetch {n/a} global all fetch-next a-an - - Fetch the value stored at the specified address. Returns the next address and the value. class:word {n/a} {n/a} global all +ffi:invoke n- - - Invoke an FFI function. Set the stack as needed, and pass the FFI handle to this. class:wrd {n/a} {n/a} ffi rre +ffi:map-sym sn-n - - Map in a symbol from a shared library or object file. Returns an FFI handle. class:word {n/a} {n/a} ffi rre +ffi:open s-n - - Open a shared library or object file. class:word {n/a} {n/a} ffi rre +ffi:operation n-? - - Trigger an i/o operation using the FFI device. class:word {n/a} {n/a} ffi rre file:A -n - - Constant for opening a file in APPEND mode. class:data {n/a} {n/a} file rre file:R -n - - Constant for opening a file in READ mode. class:data {n/a} {n/a} file rre file:R+ -n - - Constant for opening a file in READ & WRITE mode. class:data {n/a} {n/a} file rre