| 1 : |
anton
|
1.7
|
Gforth is a fast and portable implementation of the ANS Forth |
| 2 : |
anton
|
1.8
|
language. It works nicely with the Emacs editor, offers some nice |
| 3 : |
anton
|
1.9
|
features such as input completion and history and a powerful locals |
| 4 : |
|
|
facility, and it even has (the beginnings of) a manual. Gforth employs |
| 5 : |
|
|
traditional implementation techniques: its inner innerpreter is |
| 6 : |
|
|
indirect or direct threaded. Gforth is distributed under the GNU |
| 7 : |
|
|
General Public license (see COPYING). |
| 8 : |
anton
|
1.8
|
|
| 9 : |
|
|
Gforth runs under Unix and DOS and should not be hard to port to other |
| 10 : |
pazsan
|
1.23
|
systems supported by GCC. This version has been tested successfully on the |
| 11 : |
anton
|
1.28
|
following platforms: |
| 12 : |
|
|
i486-pc-linux-gnulibc1 (libc5) |
| 13 : |
|
|
i686-pc-linux-gnu (libc6) |
| 14 : |
|
|
alphaev56-unknown-linux-gnulibc1 |
| 15 : |
|
|
alpha-dec-osf4.0b |
| 16 : |
|
|
mips-sgi-irix6.2 |
| 17 : |
|
|
mips-dec-ultrix4.3 |
| 18 : |
|
|
sparc-sun-sunos4.1.4 |
| 19 : |
|
|
sparc-sun-solaris2.5.1 |
| 20 : |
|
|
powerpc-unknown-linux-gnu |
| 21 : |
|
|
hppa1.1-hp-hpux10.20 |
| 22 : |
anton
|
1.22
|
|
| 23 : |
pazsan
|
1.23
|
Read INSTALL for installation instructions, or INSTALL.DOS for DOS, Windows |
| 24 : |
|
|
95, and OS/2. Mail bug-gforth@gnu.ai.mit.edu if you have problems. To start |
| 25 : |
anton
|
1.7
|
the system, just say `gforth' (after installing it). |
| 26 : |
anton
|
1.10
|
|
| 27 : |
anton
|
1.12
|
You can find new versions of Gforth at prep.ai.mit.edu and its mirrors |
| 28 : |
|
|
or at |
| 29 : |
anton
|
1.10
|
|
| 30 : |
anton
|
1.12
|
http://www.complang.tuwien.ac.at/forth/gforth/ |
| 31 : |
anton
|
1.10
|
or |
| 32 : |
anton
|
1.12
|
ftp://ftp.complang.tuwien.ac.at/pub/forth/gforth/ |
| 33 : |
anton
|
1.10
|
|
| 34 : |
anton
|
1.14
|
The latter site contains binary distributions of Gforth for some |
| 35 : |
|
|
popular platforms. |
| 36 : |
anton
|
1.1
|
|
| 37 : |
anton
|
1.7
|
If you want to work on Gforth, mail me. Tasks to be done can be found |
| 38 : |
|
|
in ToDo; but if you would like to do something not mentioned there, |
| 39 : |
|
|
it's ok, too. In any case, we would like to hear what you are |
| 40 : |
|
|
doing. The most important tasks IMO are the missing ANS Forth words, |
| 41 : |
|
|
the documentation and the foreign language interface for C. |
| 42 : |
anton
|
1.4
|
|
| 43 : |
|
|
On popular request, here are the meanings of unusual file extensions: |
| 44 : |
|
|
|
| 45 : |
pazsan
|
1.25
|
*.fs Forth stream source file (include with "include <file>" from within |
| 46 : |
anton
|
1.26
|
gforth, or start with "gforth <file1> <file2> ...") |
| 47 : |
pazsan
|
1.25
|
*.fi Forth image files (start with "gforth -i <image file>") |
| 48 : |
|
|
*.fb Forth blocks file (load with "use <block file> 1 load") |
| 49 : |
anton
|
1.4
|
*.i C include files |
| 50 : |
|
|
*.ds documenation source |
| 51 : |
|
|
*TAGS etags files |
| 52 : |
anton
|
1.1
|
|
| 53 : |
anton
|
1.11
|
A number of Forth source files are included in this package that are |
| 54 : |
|
|
not necessary for building Gforth. Not all of them are mentioned in |
| 55 : |
|
|
the rest of the documentation, so here's a short overview: |
| 56 : |
|
|
|
| 57 : |
|
|
Add-ons: |
| 58 : |
|
|
code.fs random.fs more.fs ansi.fs colorize.fs |
| 59 : |
anton
|
1.19
|
oof.fs oofsampl.fs objects.fs |
| 60 : |
anton
|
1.11
|
|
| 61 : |
|
|
Utilities: |
| 62 : |
anton
|
1.19
|
ans-report.fs etags.fs glosgen.fs filedump.fs |
| 63 : |
anton
|
1.11
|
|
| 64 : |
|
|
Games: |
| 65 : |
|
|
tt.fs sokoban.fs |
| 66 : |
|
|
|
| 67 : |
anton
|
1.19
|
Test programs (for testing Forth systems): |
| 68 : |
|
|
tester.fs coretest.fs postponetest.fs dbltest.fs |
| 69 : |
anton
|
1.11
|
checkans.fs wordsets.fs |
| 70 : |
|
|
|
| 71 : |
|
|
Benchmarks: |
| 72 : |
anton
|
1.24
|
bubble.fs siev.fs matrix.fs fib.fs |
| 73 : |
anton
|
1.11
|
|
| 74 : |
|
|
ANS Forth implementations of Gforth extensions: |
| 75 : |
anton
|
1.12
|
compat/*.fs other.fs |
| 76 : |
pazsan
|
1.27
|
|
| 77 : |
|
|
There's a mailing list for things around Gforth that aren't bugs |
| 78 : |
|
|
(suggestions, discussions, etc.). To post, send your mail to |
| 79 : |
|
|
GForth@ChaosSolutions.com. To subscribe, send a mail to |
| 80 : |
|
|
Mdaemon@ChaosSolutions.com with: |
| 81 : |
|
|
|
| 82 : |
|
|
subscribe GForth |
| 83 : |
|
|
|
| 84 : |
|
|
as the first and only line within the message body. |
| 85 : |
anton
|
1.11
|
|
| 86 : |
|
|
|
| 87 : |
anton
|
1.1
|
- anton |
| 88 : |
anton
|
1.6
|
anton@mips.complang.tuwien.ac.at |
| 89 : |
pazsan
|
1.18
|
http://www.complang.tuwien.ac.at/anton/home.html |