Skip to content

gitGNU/gnu_gforth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1077534 · May 2, 2017
Mar 15, 2017
Dec 31, 2010
Jan 20, 2017
Apr 5, 2016
Aug 6, 2016
Apr 24, 2017
Dec 31, 2007
Apr 23, 2017
Dec 31, 2015
May 1, 2017
Aug 10, 2016
Apr 30, 2017
Dec 31, 2007
Apr 30, 2017
May 2, 2017
Feb 27, 2015
Jul 27, 2016
Jul 27, 2016
Jul 2, 2016
Jul 21, 2008
Mar 9, 2015
Jul 15, 2016
Oct 7, 2016
Oct 24, 2014
Dec 31, 2007
Mar 17, 2009
Dec 31, 2007
Dec 31, 2013
Mar 20, 2017
Dec 31, 2007
Aug 13, 2002
Dec 31, 2007
Nov 2, 2008
Jul 15, 2016
Mar 9, 2003
Mar 9, 2003
Jul 16, 2016
Jan 2, 2017
Apr 30, 2017
Nov 2, 2008
Nov 1, 2008
Oct 12, 2008
Dec 31, 2009
Dec 31, 2016
Dec 31, 2008
Dec 31, 2016
Dec 31, 2007
May 2, 2010
Dec 31, 2007
Dec 31, 2015
Dec 31, 2016
Jul 6, 2007
Dec 31, 2016
Dec 31, 2016
Dec 31, 2016
Dec 31, 2016
Dec 19, 2015
Dec 31, 2016
May 17, 1999
Dec 31, 2007
Dec 31, 2012
Jul 15, 2008
Jul 15, 2008
Jul 15, 2008
Jul 15, 2008
Jul 15, 2008
Dec 31, 2007
Dec 31, 2007
Dec 31, 2007
Dec 31, 2007
Jan 2, 2008
Jan 2, 2008
Jan 2, 2008
Jan 2, 2008
Dec 31, 2007
Dec 31, 2007
Dec 31, 2016
Dec 31, 2007
Jul 25, 2016
Dec 31, 2016
Dec 31, 2015
Dec 31, 2016
Dec 31, 2015
Dec 31, 2007
Apr 26, 2017
Dec 31, 2007
Jul 19, 2012
Mar 14, 2017
Dec 31, 2012
Sep 11, 2015
Dec 31, 2016
Apr 22, 2017
Dec 31, 2007
Dec 31, 2016
Oct 3, 2000
Dec 31, 2007
Dec 31, 2007
Dec 31, 2013
Apr 7, 2017
Jun 2, 2007
Dec 31, 2007
Dec 31, 2016
Dec 31, 2007
Dec 31, 2016
Dec 31, 2007
Apr 30, 2017
Dec 31, 2012
Dec 31, 2016
Dec 31, 2016
Jan 18, 2017
Feb 15, 2017
Sep 11, 2015
Dec 31, 2015
Dec 31, 2015
Dec 31, 2015
May 3, 2013
Dec 31, 2015
Dec 31, 2015
Aug 9, 2016
Dec 31, 2015
Apr 24, 2017
Apr 24, 2017
Nov 28, 2012
Sep 11, 2015
Sep 20, 2012
Apr 19, 2016
Dec 30, 2010
Apr 30, 2017
Aug 29, 2015
May 4, 2003
Oct 21, 2016
Dec 31, 2016
Dec 31, 2007
Dec 31, 2007
Dec 31, 2016
Jan 14, 2016
Dec 31, 2016
Apr 30, 2017
Dec 31, 2007
Feb 11, 1994
Dec 31, 2015
Dec 31, 2007
Apr 22, 2017
Sep 11, 2015
Aug 2, 2016
Dec 31, 2016
Dec 31, 2007
Dec 31, 2016
Sep 11, 2015
Oct 7, 2016
Dec 11, 2015
Nov 1, 2008
Feb 2, 2017
Dec 31, 2016
Oct 9, 2008
Feb 15, 2017
Feb 14, 2017
Dec 31, 2016
Feb 18, 2013
Dec 31, 2007
Dec 31, 2015
Dec 31, 2015
Aug 9, 2016
Dec 31, 2015
Dec 31, 2007
Dec 31, 2007
Dec 31, 2007
Dec 31, 2007
Dec 31, 2007
Dec 31, 2007
Dec 31, 2016
Dec 31, 2007
Mar 28, 1999
May 26, 2012
Dec 31, 2016
Dec 31, 2016
Dec 31, 2007
Dec 24, 2002
Dec 31, 2007
Dec 31, 2007
Aug 28, 2015
Dec 31, 2007
Jan 22, 2013
Aug 23, 2000
Dec 31, 2016
Dec 31, 2016
Aug 28, 2016
Aug 27, 2016
Aug 27, 2016
Aug 27, 2016
Dec 31, 2007
Dec 31, 2012
Mar 8, 2017
Sep 19, 1996
Aug 1, 2016
Oct 3, 2000
Dec 31, 2013
Apr 30, 2017
Dec 31, 2016
Dec 31, 2016
Sep 5, 2009
Mar 15, 2017
Dec 31, 2012
Dec 31, 2015
Dec 31, 2013
Dec 31, 2013
Dec 31, 2007
Dec 31, 2010
Mar 3, 2013
Jan 24, 2017
Jul 15, 2008
Dec 31, 2013
Aug 11, 2016
Dec 31, 2016
Oct 23, 2016
Dec 31, 2007
Dec 31, 2010
Dec 31, 2016
Dec 31, 2016
Dec 31, 2016
Dec 31, 2016
Aug 5, 2016
Dec 30, 2014
Dec 31, 2016
Sep 11, 2015
Sep 20, 2012
Sep 20, 2012
Dec 30, 2014
May 21, 1997
Sep 20, 2012
Dec 31, 2015
Dec 31, 2016
Dec 31, 2016
Dec 31, 2007
Dec 31, 2016
Dec 31, 2016
Apr 25, 2017
Dec 31, 2007
Dec 31, 2016
Apr 24, 2017
Oct 14, 2016
Apr 22, 2017
Dec 31, 2012
Dec 31, 2015
Dec 31, 2007
Nov 1, 2008
Sep 23, 2000
Nov 1, 2008
May 29, 1997
Feb 28, 2003
Dec 31, 2016
Dec 30, 2006
Dec 31, 2007
Dec 31, 2016
Dec 31, 2016
Feb 2, 2017
Dec 31, 2016
Sep 11, 2015
Dec 31, 2007
Nov 1, 2008
Dec 31, 2016
Dec 31, 2016
Dec 31, 2012
Dec 31, 2015
Aug 20, 2015
Dec 30, 2014
Dec 31, 2007
Dec 31, 2007
Dec 31, 2007
May 22, 2008
Dec 31, 2009
Dec 31, 2007

Gforth README

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, backtraces, a decompiler and a powerful locals facility, and it has a comprehensive manual. Gforth combines traditional implementation techniques with newer techniques for portability and performance: its inner interpreter is direct threaded with several optimizations, but you can also use a traditional-style indirect threaded interpreter. Gforth is distributed under the GNU General Public license (see COPYING).

Supported Systems

Gforth runs under GNU, BSD, and similar systems, MS Windows and MacOS X and should not be hard to port to other systems supported by GCC. This version has been tested successfully on the following platforms:

  • GNU/Linux
    • amd64
    • arm64
    • armel
    • armhf
    • i386
    • mips
    • mipsel
    • powerpc
  • Android/Linux
    • amd64
    • arm64
    • arm
    • i386
    • mips
  • Gforth EC(embedded): r8c, 4stack, misc, 8086
  • Windows
    • amd64
    • i386
  • MacOS
    • amd64
    • i386

Installation

Read INSTALL for installation instructions from tarball, or INSTALL.md for from git, or INSTALL.BINDIST if you have a binary package distributed as .tar.xz file. If you received a self-installing executable, just run it and follow the instructions.

To start the system, just say gforth (after installing it).

Download

You can find new versions of Gforth at gforth.org/gforth or at ftp://ftp.gnu.org/gnu/gforth/

Files

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

*.fs Forth stream source file (include with "include " from within gforth, or start with "gforth ...") *.fi Forth image files (start with "gforth -i ") *.fb Forth blocks file (load with "use 1 load") *.i C include files *.texi.in 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:

Add-ons: code.fs random.fs more.fs ansi.fs colorize.fs oof.fs oofsampl.fs objects.fs blocked.fb tasker.fs

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

Games: tt.fs sokoban.fs

Test programs (for testing Forth systems): test/*.fs

Benchmarks: bubble.fs siev.fs matrix.fs fib.fs

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

C-Bindings: unix/*.fs

Support

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: [email protected]. You have to subsribe to post there. You can subscribe through http://lists.gnu.org/mailman/listinfo/gforth. The list is archived at http://lists.gnu.org/pipermail/gforth/.

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


Copyright (C) 1995,1996,1997,1998,2000,2003,2004,2006,2007,2008,2009,2016 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/.