| 1 : |
anton
|
1.65
|
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.54
|
features such as input completion and history, backtraces, a |
| 4 : |
|
|
decompiler and a powerful locals facility, and it even has a |
| 5 : |
|
|
manual. Gforth combines traditional implementation techniques with |
| 6 : |
anton
|
1.56
|
newer techniques for portability and performance: its inner |
| 7 : |
|
|
interpreter is direct threaded with several optimizations, but you can |
| 8 : |
|
|
also use a traditional-style indirect threaded interpreter. Gforth is |
| 9 : |
|
|
distributed under the GNU General Public license (see COPYING). |
| 10 : |
anton
|
1.8
|
|
| 11 : |
anton
|
1.59
|
Gforth runs under GNU, BSD, and similar systems, MS Windows, MacOS X, |
| 12 : |
|
|
OS/2, and DOS and should not be hard to port to other systems |
| 13 : |
|
|
supported by GCC. This version has been tested successfully on the |
| 14 : |
|
|
following platforms: |
| 15 : |
pazsan
|
1.31
|
|
| 16 : |
pazsan
|
1.69
|
i386-unknown-linux-gnu |
| 17 : |
anton
|
1.63
|
x86_64-unknown-linux-gnu |
| 18 : |
pazsan
|
1.68
|
i386-apple-darwin9.4.0 |
| 19 : |
|
|
x86_64-apple-darwin9.4.0 |
| 20 : |
anton
|
1.22
|
|
| 21 : |
anton
|
1.58
|
Read INSTALL for installation instructions from source, or INSTALL.DOS |
| 22 : |
|
|
for DOS, Windows, and OS/2 from source, or INSTALL.BINDIST if you have |
| 23 : |
|
|
a binary package distributed as .tar.gz or .zip file. If you received |
| 24 : |
|
|
a self-installing executable, just run it and follow the instructions. |
| 25 : |
|
|
|
| 26 : |
anton
|
1.53
|
To start the system, just say `gforth' (after installing it). |
| 27 : |
anton
|
1.10
|
|
| 28 : |
anton
|
1.42
|
You can find new versions of Gforth at ftp://ftp.gnu.org/gnu/gforth/ |
| 29 : |
|
|
and its mirrors or at |
| 30 : |
anton
|
1.10
|
|
| 31 : |
anton
|
1.12
|
http://www.complang.tuwien.ac.at/forth/gforth/ |
| 32 : |
anton
|
1.10
|
or |
| 33 : |
anton
|
1.12
|
ftp://ftp.complang.tuwien.ac.at/pub/forth/gforth/ |
| 34 : |
anton
|
1.10
|
|
| 35 : |
anton
|
1.42
|
The latter site also contains binary distributions of Gforth for some |
| 36 : |
anton
|
1.14
|
popular platforms. |
| 37 : |
anton
|
1.1
|
|
| 38 : |
anton
|
1.7
|
If you want to work on Gforth, mail me. Tasks to be done can be found |
| 39 : |
|
|
in ToDo; but if you would like to do something not mentioned there, |
| 40 : |
|
|
it's ok, too. In any case, we would like to hear what you are |
| 41 : |
|
|
doing. The most important tasks IMO are the missing ANS Forth words, |
| 42 : |
|
|
the documentation and the foreign language interface for C. |
| 43 : |
anton
|
1.4
|
|
| 44 : |
|
|
On popular request, here are the meanings of unusual file extensions: |
| 45 : |
|
|
|
| 46 : |
pazsan
|
1.25
|
*.fs Forth stream source file (include with "include <file>" from within |
| 47 : |
anton
|
1.26
|
gforth, or start with "gforth <file1> <file2> ...") |
| 48 : |
pazsan
|
1.25
|
*.fi Forth image files (start with "gforth -i <image file>") |
| 49 : |
|
|
*.fb Forth blocks file (load with "use <block file> 1 load") |
| 50 : |
anton
|
1.4
|
*.i C include files |
| 51 : |
|
|
*.ds documenation source |
| 52 : |
|
|
*TAGS etags files |
| 53 : |
anton
|
1.1
|
|
| 54 : |
anton
|
1.11
|
A number of Forth source files are included in this package that are |
| 55 : |
|
|
not necessary for building Gforth. Not all of them are mentioned in |
| 56 : |
|
|
the rest of the documentation, so here's a short overview: |
| 57 : |
|
|
|
| 58 : |
|
|
Add-ons: |
| 59 : |
|
|
code.fs random.fs more.fs ansi.fs colorize.fs |
| 60 : |
crook
|
1.36
|
oof.fs oofsampl.fs objects.fs blocked.fb tasker.fs |
| 61 : |
anton
|
1.11
|
|
| 62 : |
|
|
Utilities: |
| 63 : |
anton
|
1.19
|
ans-report.fs etags.fs glosgen.fs filedump.fs |
| 64 : |
anton
|
1.11
|
|
| 65 : |
|
|
Games: |
| 66 : |
|
|
tt.fs sokoban.fs |
| 67 : |
|
|
|
| 68 : |
anton
|
1.19
|
Test programs (for testing Forth systems): |
| 69 : |
anton
|
1.29
|
test/*.fs |
| 70 : |
anton
|
1.11
|
|
| 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 : |
anton
|
1.30
|
For discussions about Gforth, use the Usenet newsgroup |
| 78 : |
|
|
comp.lang.forth. If you prefer not to post on Usenet, there is also a |
| 79 : |
anton
|
1.41
|
mailing list: GForth@ChaosSolutions.org. To subscribe, send a mail to |
| 80 : |
anton
|
1.61
|
gforth-subscribe@chaossolutions.org with: |
| 81 : |
pazsan
|
1.27
|
|
| 82 : |
|
|
subscribe GForth |
| 83 : |
|
|
|
| 84 : |
anton
|
1.47
|
as the first and only line within the message body. Submit bug |
| 85 : |
|
|
reports through |
| 86 : |
anton
|
1.11
|
|
| 87 : |
anton
|
1.47
|
https://savannah.gnu.org/bugs/?func=addbug&group=gforth |
| 88 : |
|
|
|
| 89 : |
|
|
(whether you post them or not). |
| 90 : |
anton
|
1.11
|
|
| 91 : |
anton
|
1.1
|
- anton |
| 92 : |
anton
|
1.6
|
anton@mips.complang.tuwien.ac.at |
| 93 : |
pazsan
|
1.18
|
http://www.complang.tuwien.ac.at/anton/home.html |
| 94 : |
anton
|
1.49
|
----- |
| 95 : |
anton
|
1.66
|
Copyright (C) 1995,1996,1997,1998,2000,2003,2004,2006,2007 Free Software Foundation, Inc. |
| 96 : |
anton
|
1.49
|
|
| 97 : |
|
|
This file is part of Gforth. |
| 98 : |
|
|
|
| 99 : |
|
|
Gforth is free software; you can redistribute it and/or |
| 100 : |
|
|
modify it under the terms of the GNU General Public License |
| 101 : |
anton
|
1.67
|
as published by the Free Software Foundation, either version 3 |
| 102 : |
anton
|
1.49
|
of the License, or (at your option) any later version. |
| 103 : |
|
|
|
| 104 : |
|
|
This program is distributed in the hope that it will be useful, |
| 105 : |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 106 : |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.#See the |
| 107 : |
|
|
GNU General Public License for more details. |
| 108 : |
|
|
|
| 109 : |
|
|
You should have received a copy of the GNU General Public License |
| 110 : |
anton
|
1.67
|
along with this program. If not, see http://www.gnu.org/licenses/. |