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 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

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
© 2008 Jim Brooks
Last modified: Wed Jan 2 15:08:33 EST 2008