Learning Predefined Forth Words
The Forth programming language makes every attempt to pretend that it’s a human language. It has words; the words are stored in a dictionary; to “speak” Forth fluently, you must learn the dictionary words and understand their meaning. As a Forth programmer, you are only as good as your combined knowledge of the dictionary.
All Forth words fall into several groups based on their level of standardization and purpose.
Word Types
The most popular Forth standards are FORTH-79 (superseded by FORTH-83) and fig-Forth (1978, replaced by ANS Forth in 1994). Gforth, used in this book, is a free implementation of the latter. Depending on adherence to a standard (for example, FORTH-79), words belong to required, extension, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access