version 1.14, 1996/09/30 13:16:07
|
version 1.72, 2008/10/13 20:20:56
|
Line 1
|
Line 1
|
Gforth is a fast and portable implementation of the ANS Forth |
Gforth is a fast and portable implementation of the ANS Forth |
language. It works nicely with the Emacs editor, offers some nice |
language. It works nicely with the Emacs editor, offers some nice |
features such as input completion and history and a powerful locals |
features such as input completion and history, backtraces, a |
facility, and it even has (the beginnings of) a manual. Gforth employs |
decompiler and a powerful locals facility, and it even has a |
traditional implementation techniques: its inner innerpreter is |
manual. Gforth combines traditional implementation techniques with |
indirect or direct threaded. Gforth is distributed under the GNU |
newer techniques for portability and performance: its inner |
General Public license (see COPYING). |
interpreter is direct threaded with several optimizations, but you can |
|
also use a traditional-style indirect threaded interpreter. Gforth is |
Gforth runs under Unix and DOS and should not be hard to port to other |
distributed under the GNU General Public license (see COPYING). |
systems supported by GCC. This version has been tested successfully on |
|
Linux (for Intel), SunOS (SPARC), Digital "Unix" (Alpha) and Ultrix |
Gforth runs under GNU, BSD, and similar systems, MS Windows, MacOS X, |
(MIPS). |
OS/2, and DOS and should not be hard to port to other systems |
|
supported by GCC. This version has been tested successfully on the |
Read INSTALL for installation instructions. Mail |
following platforms: |
bug-gforth@gnu.ai.mit.edu if you have problems. To start |
|
the system, just say `gforth' (after installing it). |
i386-unknown-linux-gnu |
|
x86_64-unknown-linux-gnu |
|
i386-apple-darwin9.4.0 |
|
x86_64-apple-darwin9.4.0 |
|
ppc-apple-darwin9.4.0 |
|
i686-pc-cygwin |
|
r8c (gforth-ec) |
|
|
|
Read INSTALL for installation instructions from source, or INSTALL.DOS |
|
for DOS, Windows, and OS/2 from source, or INSTALL.BINDIST if you have |
|
a binary package distributed as .tar.gz or .zip file. If you received |
|
a self-installing executable, just run it and follow the instructions. |
|
|
You can find new versions of Gforth at prep.ai.mit.edu and its mirrors |
To start the system, just say `gforth' (after installing it). |
or at |
|
|
You can find new versions of Gforth at ftp://ftp.gnu.org/gnu/gforth/ |
|
and its mirrors or at |
|
|
http://www.complang.tuwien.ac.at/forth/gforth/ |
http://www.complang.tuwien.ac.at/forth/gforth/ |
or |
or |
ftp://ftp.complang.tuwien.ac.at/pub/forth/gforth/ |
ftp://ftp.complang.tuwien.ac.at/pub/forth/gforth/ |
|
|
The latter site contains binary distributions of Gforth for some |
The latter site also contains binary distributions of Gforth for some |
popular platforms. |
popular platforms. |
|
|
If you want to work on Gforth, mail me. Tasks to be done can be found |
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, |
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 |
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, |
doing. The most important task IMO is the foreign language interface |
the documentation and the foreign language interface for C. |
for C. |
|
|
On popular request, here are the meanings of unusual file extensions: |
On popular request, here are the meanings of unusual file extensions: |
|
|
*.fs Forth stream source file |
*.fs Forth stream source file (include with "include <file>" from within |
*.fi Forth image files |
gforth, or start with "gforth <file1> <file2> ...") |
*.fb Forth blocks file |
*.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 |
*.i C include files |
*.ds documenation source |
*.ds documenation source |
*TAGS etags files |
*TAGS etags files |
Line 46 the rest of the documentation, so here's
|
Line 60 the rest of the documentation, so here's
|
|
|
Add-ons: |
Add-ons: |
code.fs random.fs more.fs ansi.fs colorize.fs |
code.fs random.fs more.fs ansi.fs colorize.fs |
|
oof.fs oofsampl.fs objects.fs blocked.fb tasker.fs |
|
|
Utilities: |
Utilities: |
etags.fs glosgen.fs filedump.fs |
ans-report.fs etags.fs glosgen.fs filedump.fs |
|
|
Games: |
Games: |
tt.fs sokoban.fs |
tt.fs sokoban.fs |
|
|
Test programs: |
Test programs (for testing Forth systems): |
tester.fs coretest.fs |
test/*.fs |
checkans.fs wordsets.fs |
|
|
|
Benchmarks: |
Benchmarks: |
bubble.fs siev.fs matrix.fs fib.fs sieve.fs |
bubble.fs siev.fs matrix.fs fib.fs |
|
|
ANS Forth implementations of Gforth extensions: |
ANS Forth implementations of Gforth extensions: |
compat/*.fs other.fs |
compat/*.fs |
|
|
|
For discussions about Gforth, use the Usenet newsgroup |
|
comp.lang.forth. If you prefer not to post on Usenet, there is also a |
|
mailing list: GForth@ChaosSolutions.org. To subscribe, send a mail to |
|
gforth-subscribe@chaossolutions.org with: |
|
|
|
subscribe GForth |
|
|
|
as the first and only line within the message body. You can also |
|
report bugs through these channels, or you can report them through our |
|
bug database: |
|
|
|
https://savannah.gnu.org/bugs/?func=addbug&group=gforth |
|
|
- anton |
- anton |
anton@mips.complang.tuwien.ac.at |
anton@mips.complang.tuwien.ac.at |
http://www.complang.tuwien.ac.at/anton/home.html |
|
|
|
|
http://www.complang.tuwien.ac.at/anton/home.html |
|
----- |
|
Copyright (C) 1995,1996,1997,1998,2000,2003,2004,2006,2007 Free Software Foundation, Inc. |
|
|
|
This file is part of Gforth. |
|
|
|
Gforth is free software; you can redistribute it and/or |
|
modify it under the terms of the GNU General Public License |
|
as published by the Free Software Foundation, either version 3 |
|
of the License, or (at your option) any later version. |
|
|
|
This program is distributed in the hope that it will be useful, |
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.#See the |
|
GNU General Public License for more details. |
|
|
|
You should have received a copy of the GNU General Public License |
|
along with this program. If not, see http://www.gnu.org/licenses/. |