April 14, 1999
Aliases: gforth-0.7.2(1), gforth-0.7.3(1), gforth-fast(1), gforth-fast-0.7.2(1), gforth-fast-0.7.3(1), gforth-itc(1), gforth-itc-0.7.2(1), gforth-itc-0.7.3(1), gforthmi(1), gforthmi-0.7.2(1), gforthmi-0.7.3(1)
gforth, gforth-fast, gforthmi - a fast and portable Forth system
gforth[initialization options] [image-specific options]
gforth-fast[initialization options] [image-specific options]
gforthmifilename [initialization options] [image-specific options]
GForth is a fast and portable implementation of the Forth programming language. For details read the manual.
GFORTHPATHcontains the search path for source and image files.
GFORTHDgives the gforth executable used by
gforthmifor creating the base images. It should be a double indirect threaded system. Default:
GFORTHgives the gforth executable used by
gforthmifor computing the relocatable image from the base images. Default:
GFORTHHISTgives the location of the history file used by gforth to allow command-line recall. Default:
$HOME. (The history file is named
starts the system and goes into interactive mode.
gforth file1 file2 -e bye
loads and interprets the files
file2, then exits.
is the same as
gforth, except that it does not support accurate backtraces for signals, and is faster by up to a factor of 2. Use it for debugged, performance-critical programs such as benchmarks.
gforthmi asm.fi -m 1M asm.fs
creates an image
asm.fithat has a default dictionary size of 1MB and has the file
|-h Lists the available options, including some not described here (see also the manual).|
|-i file Loads the Forth image file instead of the default
|-p path Uses path for searching the image file and Forth source code files instead of the default in the environment variable
|-m size Allocate size space for the Forth dictionary space instead of using the default specified in the image (typically 256K). The size specification consists of an integer and a unit (e.g.,
|-d size Allocate size space for the data stack instead of using the default specified in the image (typically 16K).|
|-r size Allocate size space for the return stack instead of using the default specified in the image (typically 16K).|
|-f size Allocate size space for the floating point stack instead of using the default specified in the image (typically 16K). In this case the unit specifier
|-l size Allocate size space for the locals stack instead of using the default specified in the image (typically 16K).|
|-e forth Evaluates the forth code. This option takes only one argument; if you want to evaluate more Forth words, you have to quote them or use several
.../gforth.fidefault Forth image
*.fiForth loadable image
*.fsForth source (sequential)
*.fbForth source (block)
*.iC include files
The Gforth manual - available in hypertext (Info, HTML) and printable (TeX, PS, ASCII) forms.
The ANSI document X3.215-1994 (i.e., the ANS Forth standard).
More information on Gforth (e.g., pointers to new versions, to the manual on the WWW and to papers about Gforth) is available through
Gforth was written by Anton Ertl, Bernd Paysan, Jens Wilke and others.