Last updated: 27 November 2015


ANS Forth and Forth 2012 Test Programs


Introduction

Checking that an ANS Forth/Forth 2012 system is compliant with the ANS Forth and Forth 2012 standards requires a set of test programs. These test programs go some way towards meeting this requirement. The tests are based on the widely known tester developed by John Hayes and include his original core tests. The tests have been updated to version 0.13 to include the Block word set (contributed by Steve Palmer). The test programs provided in the suite are:

  • Core words (by John Hayes) plus some additional tests
  • Core extension words
  • The Block word set and extensions
  • The Double Number word set and extensions
  • The Exception word set and extensions
  • The Facility word set extensions (structures only)
  • The File-Access word set and extensions
  • The Locals word set
  • The Memory-Allocation word set
  • The Programming-Tools word set and extensions (incomplete - a few words in each)
  • The Search-Order word set and extensions
  • The String word set

Versions 0.11 and later also include an error report at the end of the tests

The project has been moved onto GitHub. See the readme.md for more details and download the master branch for the test files.

Contact

Gerry Jackson