EnglishFrenchSpanish

Ad


OnWorks favicon

gforth - Online in the Cloud

Run gforth in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gforth that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


gforth, gforth-fast, gforthmi - a fast and portable Forth system

SYNOPSIS


gforth [initialization options] [image-specific options] gforth-fast [initialization
options] [image-specific options]

gforthmi filename [initialization options] [image-specific options]

DESCRIPTION


GForth is a fast and portable implementation of the Forth programming language. For
details read the manual.

ENVIRONMENT VARIABLES


GFORTHPATH contains the search path for source and image files.

GFORTHD gives the gforth executable used by gforthmi for creating the base images. It
should be a double indirect threaded system. Default: gforth-ditc.

GFORTH gives the gforth executable used by gforthmi for computing the relocatable image
from the base images. Default: gforth.

GFORTHHIST gives the location of the history file used by gforth to allow command-line
recall. Default: $HOME. (The history file is named .gforth-history).

EXAMPLES


gforth

starts the system and goes into interactive mode.

gforth file1 file2 -e bye

loads and interprets the files file1 and file2, then exits.

gforth-fast

is the same as gforth, except that it does not support accurate backtraces for signals,
and is faster by up to a factor of 2. Use it for debugged, performance-critical programs
such as benchmarks.

gforthmi asm.fi -m 1M asm.fs

creates an image asm.fi that has a default dictionary size of 1MB and has the file asm.fs
loaded.

OPTIONS


--help
-h Lists the available options, including some not described here (see also the
manual).

--image-file file
-i file
Loads the Forth image file instead of the default gforth.fi.

--path path
-p path
Uses path for searching the image file and Forth source code files instead of the
default in the environment variable GFORTHPATH or the path specified at
installation time (typically /usr/local/lib/gforth:.. A path is given as a
:-separated list.

--dictionary-size size
-m size
Allocate size space for the Forth dictionary space instead of using the default
specified in the image (typically 256K). The size specification consists of an
integer and a unit (e.g., 4M). The unit can be one of b (bytes), e (element size,
in this case Cells), k (kilobytes), and M (Megabytes). If no unit is specified, e
is used.

--data-stack-size size
-d size
Allocate size space for the data stack instead of using the default specified in
the image (typically 16K).

--return-stack-size size
-r size
Allocate size space for the return stack instead of using the default specified in
the image (typically 16K).

--fp-stack-size size
-f size
Allocate size space for the floating point stack instead of using the default
specified in the image (typically 16K). In this case the unit specifier e refers to
floating point numbers.

--locals-stack-size size
-l size
Allocate size space for the locals stack instead of using the default specified in
the image (typically 16K).

--evaluate forth
-e forth
Evaluates the forth code. This option takes only one argument; if you want to
evaluate more Forth words, you have to quote them or use several -es. To exit
after processing the command line (instead of entering interactive mode) append -e
bye to the command line. This is an image-specific option of the default image.

Use gforth online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • 2
    usm
    usm
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • 3
    Chart.js
    Chart.js
    Chart.js is a Javascript library that
    allows designers and developers to draw
    all kinds of charts using the HTML5
    canvas element. Chart js offers a great
    array ...
    Download Chart.js
  • 4
    iReport-Designer for JasperReports
    iReport-Designer for JasperReports
    NOTE: iReport/Jaspersoft Studio Support
    Announcement: As of version 5.5.0,
    Jaspersoft Studio will be the official
    design client for JasperReports. iReport
    will...
    Download iReport-Designer for JasperReports
  • 5
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 6
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 7
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • More »

Linux commands

  • 1
    a2crd
    a2crd
    a2crd - attempts the conversion of
    lyrics file into chordii input ...
    Run a2crd
  • 2
    a2j
    a2j
    a2j - Wrapper script to simulate
    a2jmidid's non-DBUS behaviour though
    a2jmidid actually being in DBUS mode ...
    Run a2j
  • 3
    coresendmsg
    coresendmsg
    coresendmsg - send a CORE API message
    to the core-daemon daemon ...
    Run coresendmsg
  • 4
    core_server
    core_server
    core_server - The primary server for
    SpamBayes. DESCRIPTION: Currently serves
    the web interface only. Plugging in
    listeners for various protocols is TBD.
    This ...
    Run core_server
  • 5
    galculator
    galculator
    galculator - a GTK 2 / GTK 3 based
    scientific calculator ...
    Run galculator
  • 6
    galleroob
    galleroob
    galleroob - browse and download web
    image galleries ...
    Run galleroob
  • More »

Ad