Skip to content
Scot W. Stevenson edited this page Mar 19, 2017 · 4 revisions

Simple Tests for Forth Words

Scot W. Stevenson [email protected]

When you write your own Forth, you need test cases to make sure the words work as they are supposed to. Big Forths ship with their own test definitions, but these can be too large and complicated for single board computers (SBC). The following examples should help. They were collected from various sources and used for the development of Tali Forth for the 65c02 and Liara Forth for the 265sxb.

The pages are organized by theme (loops, etc) and alphabetically on each page.

Further Information

ANSI Forth list of words
Gforth list of words

Clone this wiki locally