File:  [gforth] / gforth / README
Revision 1.27: download - view: text, annotated - select for diffs
Sun Dec 20 23:17:54 1998 UTC (22 years, 7 months ago) by pazsan
Branches: MAIN
CVS tags: HEAD
Changes to make gforth run on DOS and Win32 (I hope it's not broken by the
latest changes)
Some minor tweaks

Gforth is a fast and portable implementation of the ANS Forth
language. It works nicely with the Emacs editor, offers some nice
features such as input completion and history and a powerful locals
facility, and it even has (the beginnings of) a manual. Gforth employs
traditional implementation techniques: its inner innerpreter is
indirect or direct threaded.  Gforth is distributed under the GNU
General Public license (see COPYING).

Gforth runs under Unix and DOS and should not be hard to port to other
systems supported by GCC. This version has been tested successfully on the
following platforms: i486-unknown-linuxaout, mips-dec-ultrix4.3,
sparc-sun-sunos4.1.4, alpha-dec-osf3.2, i586-unknown-linux,
hppa1.1-hp-hpux9.05, hppa1.1-hp-hpux10.20, Windows 95 using DJGPP 2.0,
Windows 95 using CygWin32 beta 18, OS/2 3.0 using EMX 0.9c.

Read INSTALL for installation instructions, or INSTALL.DOS for DOS, Windows
95, and OS/2. Mail if you have problems.  To start
the system, just say `gforth' (after installing it).

You can find new versions of Gforth at and its mirrors
or at

The latter site contains binary distributions of Gforth for some
popular platforms.

If you want to work on Gforth, mail me. Tasks to be done can be found
in ToDo; but if you would like to do something not mentioned there,
it's ok, too. In any case, we would like to hear what you are
doing. The most important tasks IMO are the missing ANS Forth words,
the documentation and the foreign language interface for C.

On popular request, here are the meanings of unusual file extensions:

*.fs	Forth stream source file (include with "include <file>" from within
        gforth, or start with "gforth <file1> <file2> ...")
*.fi	Forth image files (start with "gforth -i <image file>")
*.fb	Forth blocks file (load with "use <block file> 1 load")
*.i	C include files
*.ds	documenation source
*TAGS	etags files

A number of Forth source files are included in this package that are
not necessary for building Gforth. Not all of them are mentioned in
the rest of the documentation, so here's a short overview:

code.fs random.fs more.fs ansi.fs colorize.fs
oof.fs oofsampl.fs objects.fs

ans-report.fs etags.fs glosgen.fs filedump.fs

tt.fs sokoban.fs

Test programs (for testing Forth systems):
tester.fs coretest.fs postponetest.fs dbltest.fs
checkans.fs wordsets.fs

bubble.fs siev.fs matrix.fs fib.fs

ANS Forth implementations of Gforth extensions:
compat/*.fs other.fs

There's a mailing list for things around Gforth that aren't bugs
(suggestions, discussions, etc.). To post, send your mail to To subscribe, send a mail to with:

subscribe GForth

as the first and only line within the message body.

- anton

FreeBSD-CVSweb <>