Other Alias
gforth, gforth-fastSYNOPSIS
gforth [initialization options] [image-specific options] gforth-fast [initialization options] [image-specific options]
gforthmi filename [initialization options] [image-specific options]
DESCRIPTION
GForth is a fast and portable implementation of the Forth programming language. For details read the manual.
ENVIRONMENT VARIABLES
GFORTHPATH contains the search path for source and image files.
GFORTHD gives the gforth executable used by gforthmi for creating the base images. It should be a double indirect threaded system. Default: gforth-ditc.
GFORTH gives the gforth executable used by gforthmi for computing the relocatable image from the base images. Default: gforth.
GFORTHHIST gives the location of the history file used by gforth to allow command-line recall. Default: $HOME. (The history file is named .gforth-history).
EXAMPLES
gforth
starts the system and goes into interactive mode.
gforth file1 file2 -e bye
loads and interprets the files file1 and file2, then exits.
gforth-fast
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.fi that has a default dictionary size of 1MB and has the file asm.fs loaded.
OPTIONS
--help
- --image-file file
-
- --path path
-
- --dictionary-size size
-
- --data-stack-size size
-
- --return-stack-size size
-
- --fp-stack-size size
-
- --locals-stack-size size
-
- --evaluate forth
-
FILES
.../gforth.fi default Forth image *.fi Forth loadable image *.fs Forth source (sequential) *.fb Forth source (block) *.fd generated with makedoc.fs *.i C include files *.ds documentation source *TAGS etags files
AUTHORS
Gforth was written by Anton Ertl, Bernd Paysan, Jens Wilke and others.