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
    Phaser
    Phaser
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 4
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 5
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 6
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • More »

Linux commands

  • 1
    abidiff
    abidiff
    abidiff - compare ABIs of ELF files
    abidiff compares the Application Binary
    Interfaces (ABI) of two shared libraries
    in ELF format. It emits a meaningful
    repor...
    Run abidiff
  • 2
    abidw
    abidw
    abidw - serialize the ABI of an ELF
    file abidw reads a shared library in ELF
    format and emits an XML representation
    of its ABI to standard output. The
    emitted ...
    Run abidw
  • 3
    copac2xml
    copac2xml
    bibutils - bibliography conversion
    utilities ...
    Run copac2xml
  • 4
    copt
    copt
    copt - peephole optimizer SYSNOPIS:
    copt file.. DESCRIPTION: copt is a
    general-purpose peephole optimizer. It
    reads code from its standard input and
    writes an ...
    Run copt
  • 5
    gather_stx_titles
    gather_stx_titles
    gather_stx_titles - gather title
    declarations from Stx documents ...
    Run gather_stx_titles
  • 6
    gatling-bench
    gatling-bench
    bench - http benchmark ...
    Run gatling-bench
  • More »

Ad