An automated mirror of Gforth's Git repository on Savannah (https://savannah.gnu.org/projects/gforth/). Updates hourly.
Forth C C++ Makefile Shell Emacs Lisp Other
carview.php?tsp= Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
carview.php?tsp= arch
carview.php?tsp= asm
carview.php?tsp= compat
carview.php?tsp= contrib
carview.php?tsp= debian
carview.php?tsp= doc
carview.php?tsp= ec
carview.php?tsp= engine
carview.php?tsp= kernel-ec
carview.php?tsp= kernel
carview.php?tsp= m4
carview.php?tsp= minos2 Slight improvement to par-split Jun 5, 2018
carview.php?tsp= netlib
carview.php?tsp= test
carview.php?tsp= unix
carview.php?tsp= vim
carview.php?tsp= vmgen-ex
carview.php?tsp= vmgen-ex2
carview.php?tsp= wordlibs
carview.php?tsp= .cvsignore
carview.php?tsp= .gitattributes
carview.php?tsp= .gitignore
carview.php?tsp= .travis.yml
carview.php?tsp= 2012words.fs
carview.php?tsp= AUTHORS
carview.php?tsp= Agenda
carview.php?tsp= BUGS
carview.php?tsp= BUILD-FROM-SCRATCH
carview.php?tsp= Benchres
carview.php?tsp= COPYING
carview.php?tsp= COPYING.DOC
carview.php?tsp= COPYING.LIB
carview.php?tsp= ChangeLog
carview.php?tsp= ChangeLog.git-unprocessed
carview.php?tsp= INSTALL
carview.php?tsp= INSTALL.BINDIST
carview.php?tsp= INSTALL.DOS
carview.php?tsp= INSTALL.md
carview.php?tsp= Makedist.in
carview.php?tsp= Makefile.in
carview.php?tsp= NEWS
carview.php?tsp= NEWS.vmgen
carview.php?tsp= NEWS.vmgen.future
carview.php?tsp= README
carview.php?tsp= README.md
carview.php?tsp= README.vmgen
carview.php?tsp= ToDo
carview.php?tsp= ToDo-native
carview.php?tsp= abi-code-test.fs
carview.php?tsp= add.fs
carview.php?tsp= ans-report.fs
carview.php?tsp= ansi.fs
carview.php?tsp= answords.fs
carview.php?tsp= archive.fs
carview.php?tsp= assert.fs
carview.php?tsp= autogen.sh
carview.php?tsp= backtrac.fs
carview.php?tsp= bits.fs
carview.php?tsp= blocked.fb
carview.php?tsp= blocks.fs
carview.php?tsp= bubble.fs
carview.php?tsp= bufio.fs
carview.php?tsp= build-ec.in
carview.php?tsp= cache-fast0.vmg
carview.php?tsp= cache-fast1.vmg
carview.php?tsp= cache-fast2.vmg
carview.php?tsp= cache-fast3.vmg
carview.php?tsp= cache-fast4.vmg
carview.php?tsp= cache-fast5.vmg
carview.php?tsp= cache-fast6.vmg
carview.php?tsp= cache-fast7.vmg
carview.php?tsp= cache-fast8.vmg
carview.php?tsp= cache-regs1.vmg
carview.php?tsp= cache-regs2.vmg
carview.php?tsp= cache-regs3.vmg
carview.php?tsp= cache-regs4.vmg
carview.php?tsp= cache0.vmg
carview.php?tsp= cache1.vmg
carview.php?tsp= callable.fs
carview.php?tsp= chains.fs
carview.php?tsp= cilk.fs
carview.php?tsp= code.fs
carview.php?tsp= colorize.fs
carview.php?tsp= comp-i.fs
carview.php?tsp= complex.fs
carview.php?tsp= config.bat
carview.php?tsp= config.fs
carview.php?tsp= configure.ac
carview.php?tsp= configure.cmd
carview.php?tsp= context-struct.fs
carview.php?tsp= cross.fs
carview.php?tsp= cstr.fs
carview.php?tsp= date.fs
carview.php?tsp= debug.fs
carview.php?tsp= debugs.fs
carview.php?tsp= depth-changes.fs
carview.php?tsp= dis-gdb.fs
carview.php?tsp= dosconf.h
carview.php?tsp= dosekey.fs
carview.php?tsp= doskey.fs
carview.php?tsp= ds2texi.fs
carview.php?tsp= ekey.fs
carview.php?tsp= elisp-comp
carview.php?tsp= endtry-iferror.fs
carview.php?tsp= environ.fs
carview.php?tsp= envos.dos
carview.php?tsp= envos.fs.in
carview.php?tsp= envos.os2
carview.php?tsp= errors.fs
carview.php?tsp= etags.fs
carview.php?tsp= exboot.fs
carview.php?tsp= except.fs
carview.php?tsp= extend.fs
carview.php?tsp= fflib.fs
carview.php?tsp= fft-bench.fs
carview.php?tsp= fft.fs
carview.php?tsp= fget.fs
carview.php?tsp= fi2c.fs
carview.php?tsp= fib.fs
carview.php?tsp= filedump.fs
carview.php?tsp= firewall.iss
carview.php?tsp= fixfiles.fs
carview.php?tsp= fixpath.fs
carview.php?tsp= float.fs
carview.php?tsp= forward.fs
carview.php?tsp= fsl-util.4th
carview.php?tsp= fsl-util.fs
carview.php?tsp= gforth-cgi.fs
carview.php?tsp= gforth-rpmlintrc
carview.php?tsp= gforth.dsc
carview.php?tsp= gforth.el
carview.php?tsp= gforth.ico
carview.php?tsp= gforth.lsm
carview.php?tsp= gforth.spec
carview.php?tsp= gforthker.in
carview.php?tsp= gforthmi.bat
carview.php?tsp= gforthmi.cmd
carview.php?tsp= gforthmi.in
carview.php?tsp= gforthmi.sh.in
carview.php?tsp= gforthrc.fs
carview.php?tsp= glocals.fs
carview.php?tsp= glosgen.fs
carview.php?tsp= glosgen.glo
carview.php?tsp= gray.fs
carview.php?tsp= growable.fs
carview.php?tsp= hash.fs
carview.php?tsp= heartbleed.fs
carview.php?tsp= help.txt
carview.php?tsp= history.fs
carview.php?tsp= html.fs
carview.php?tsp= httpd.fs
carview.php?tsp= i18n.fs
carview.php?tsp= install-deps.sh
carview.php?tsp= install-swig.sh
carview.php?tsp= install-tags.fs
carview.php?tsp= intcomp.fs
carview.php?tsp= iss.sh
carview.php?tsp= lib.fs
carview.php?tsp= libcc.fs
carview.php?tsp= libffi.fs
carview.php?tsp= libforth.in
carview.php?tsp= list.fs
carview.php?tsp= locals-test.fs
carview.php?tsp= locals.fs
carview.php?tsp= locate.fs
carview.php?tsp= locate1.fs
carview.php?tsp= look.fs
carview.php?tsp= mach16b.fs
carview.php?tsp= mach16l.fs
carview.php?tsp= mach32b.fs
carview.php?tsp= mach32l.fs
carview.php?tsp= mach64b.fs
carview.php?tsp= mach64l.fs
carview.php?tsp= machpc.fs.in
carview.php?tsp= make-app.fs
carview.php?tsp= matrix.fs
carview.php?tsp= mini-oof.fs
carview.php?tsp= mini-oof2.fs
carview.php?tsp= mkdir.fs
carview.php?tsp= mkdosmf.sed
carview.php?tsp= mkinstalldirs
carview.php?tsp= mkos2mf.sed
carview.php?tsp= model
carview.php?tsp= modpath.iss
carview.php?tsp= moof-exm.fs
carview.php?tsp= moof2-example.fs
carview.php?tsp= moofglos.fs
carview.php?tsp= more.fs
carview.php?tsp= notfound.fs
carview.php?tsp= objects.fs
carview.php?tsp= objex1.fs
carview.php?tsp= objex2.fs
carview.php?tsp= objexamp.fs
carview.php?tsp= obsolete.fs
carview.php?tsp= oldlib.fs
carview.php?tsp= onebench.fs
carview.php?tsp= oof.fs
carview.php?tsp= oofsampl.fs
carview.php?tsp= options.fs
carview.php?tsp= os2conf.h
carview.php?tsp= other.fs
carview.php?tsp= peeprules.vmg
carview.php?tsp= preforth.in
carview.php?tsp= prelude.fs
carview.php?tsp= prim
carview.php?tsp= prims2cl.fs
carview.php?tsp= prims2x.fs
carview.php?tsp= prims2x0.6.2.fs
carview.php?tsp= prof-inline.fs
carview.php?tsp= profile.fs
carview.php?tsp= proxy.fs
carview.php?tsp= quotations.fs
carview.php?tsp= quotes.fs
carview.php?tsp= random.fs
carview.php?tsp= rec-env.fs
carview.php?tsp= rec-meta.fs
carview.php?tsp= rec-scope.fs
carview.php?tsp= rec-string.fs
carview.php?tsp= rec-to.fs
carview.php?tsp= recognizer2.fs
carview.php?tsp= record-locs.fs
carview.php?tsp= recover-endtry.fs
carview.php?tsp= regexp-test.fs
carview.php?tsp= regexp.fs
carview.php?tsp= reverse-words.fs
carview.php?tsp= savesys.fs
carview.php?tsp= script.fs
carview.php?tsp= search.fs
carview.php?tsp= sections.fs
carview.php?tsp= see-ext.fs
carview.php?tsp= see.fs
carview.php?tsp= set-compsem.fs
carview.php?tsp= siev.fs
carview.php?tsp= sieve.fs
carview.php?tsp= simp-see.fs
carview.php?tsp= siteinit.fs
carview.php?tsp= smartdots.fs
carview.php?tsp= sokoban.fs
carview.php?tsp= source.fs
carview.php?tsp= startup.fs
carview.php?tsp= status.fs
carview.php?tsp= str-exec.fs
carview.php?tsp= string.fs
carview.php?tsp= struct-val.fs
carview.php?tsp= struct.fs
carview.php?tsp= struct0x.fs
carview.php?tsp= stuff.fs
carview.php?tsp= substitute.fs
carview.php?tsp= table.fs
carview.php?tsp= tags.fs
carview.php?tsp= tasker.fs
carview.php?tsp= termsize.fs
carview.php?tsp= testall
carview.php?tsp= testclean
carview.php?tsp= testdist
carview.php?tsp= testdist1
carview.php?tsp= timings.sc
carview.php?tsp= traceall.fs
carview.php?tsp= tt.fs
carview.php?tsp= unbuffer.fs
carview.php?tsp= update-copyright
carview.php?tsp= update-copyright-blacklist
carview.php?tsp= user-object.fs
carview.php?tsp= utf-8.fs
carview.php?tsp= utf16.fs
carview.php?tsp= versions.bsh
carview.php?tsp= vmgen.in
carview.php?tsp= vt100.fs
carview.php?tsp= vt100key.fs
carview.php?tsp= webform.fs
carview.php?tsp= wf.fs
carview.php?tsp= wininst.sh
carview.php?tsp= wordinfo.fs
carview.php?tsp= wordlib.fs
carview.php?tsp= wordlib.mk
carview.php?tsp= wordsets.fs
carview.php?tsp= xhash.fs
carview.php?tsp= xwords.fs
carview.php?tsp= xxxprim

README.md

Gforth README

Build Status Travis

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: gforth@gnu.org. You have to subsribe to post there. You can subscribe through https://lists.gnu.org/mailman/listinfo/gforth. The list is archived at https://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,2017 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 https://www.gnu.org/licenses/.