kForth is a simple Forth programming language and environment. It
implements a subset of the ANSI Forth specification, along
with some extensions. kForth can serve as a standalone computing
environment or its object code may be interfaced to another program to
serve as a customizable programming language for that application. In
fact, the kForth virtual machine is used to evaluate expressions
for the program XYPLOT.
Some of kForth's features are:
OPEN, CLOSE, LSEEK, READ, WRITE,
and
IOCTL
(Linux only). In addition to basic file i/o,
these words permit communication with device drivers under Linux,
enabling kForth to be used for instrument control and data
acquisition. A subset of the ANSI standard
file extension words are provided in the form of Forth source code.
The notation for stack diagrams in this document is as follows:
a | address |
n | single integer value |
b | boolean flag (-1 or 0) |
f | double precision floating point value |
^str | counted string |
/usr/local/src
, e.g.kflnx10.tar.gz
into
this directory,Makefile
in the directory. Type /usr/local/bin
in order to
put it in a path available to users,
.4th
. Users may copy the
example programs to their own directories.