Skip to content

Gforth mirror on GitHub (original is on Savannah)

License

GPL-3.0 and 2 other licenses found

Licenses found

GPL-3.0
COPYING
Unknown
COPYING.DOC
Unknown
COPYING.LIB
Notifications You must be signed in to change notification settings

forthy42/gforth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

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

Repository files navigation

Gforth README

Build Status Travis pipeline status pipeline status

Gforth is a fast and portable implementation of the ANS Forth/Forth 200x 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).

Gforth is part of the GNU Operating System, developed by the GNU Project. To learn more about Free (libre) Software, you can read this page: https://gnu.org/philosophy/free-sw.html

If you are the author of an awesome program and want to join us in writing Free (libre) Software, please consider making it an official GNU program and become a GNU Maintainer. You can find instructions on how to do this here: https://www.gnu.org/help/evaluation

Another way to contribute to the Forth community is by uploading your program as a package to the Forth Net: https://theforth.net

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
www.complang.tuwien.ac.at/forth/gforth/
and current snapshots on
www.complang.tuwien.ac.at/forth/gforth/Snapshots/current/
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 _<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
\*.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


Authors: Bernd Paysan, Anton Ertl, Gerald Wodni Copyright (C) 1995,1996,1997,1998,2000,2003,2004,2006,2007,2008,2009,2016,2017,2018,2019,2020,2021,2022,2023 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/.

About

Gforth mirror on GitHub (original is on Savannah)

Topics

Resources

License

GPL-3.0 and 2 other licenses found

Licenses found

GPL-3.0
COPYING
Unknown
COPYING.DOC
Unknown
COPYING.LIB

Stars

Watchers

Forks

Packages

No packages published