FORTH Programming Language

FORTH Documents

  • "FIG-FORTH Internals"

  • This document is based on notes I wrote while studying the source code of FIG-FORTH.
    It describes how a FORTH interpreter works internally, and mentions the ingenious solutions
    invented in order to assemble a FORTH interpreter.

  • "FORTH Pictured Numeric Output"

  • Brief document about the FORTH syntax for printing numbers.


FORTH HOWTO

FORTH Versions

White Lightning FORTH by Oasis Software

This was an amazing implemention of FORTH for developing games on the Commodore 64.

FORTH Tools

  • hypersrc is a freeware GUI source code browser that supports FORTH (and other programming languages). hypersrc will display FORTH words in a list widget and jump to a FORTH word's location in a source file when clicked.

FORTH WWW Links

  • ANS FORTH online documentation (has ANS FORTH word reference)
  • Gforth manual
  • Gforth project on Savannah (from where Gforth can be downloaded)

32-bit FIG-FORTH

As an experiment, I ported 16-bit 8086 FIG-FORTH to the Intel 32-bit 80386 architecture
from which I made three versions for MSDOS, MSDOS box within Windows (DPMI), and OS/2.
For the MSDOS version, I wrote my own 80386 protect-mode supervisor program.

Here are screenshots of the OS/2 Presentation Manager (PM) version.
This is the only OS/2 PM program written in FORTH that exists.
screenshot - FORTH startup on OS/2 with a 64MB (megabyte) dictionary
screenshot - FORTH drawing a Moire pattern on OS/2
screenshot - FORTH drawing color spectrum on OS/2 with editor showing some source code

home
© 2011 Jim Brooks
Last modified: Mon Mar 15 18:19:08 CDT 2010