Skip to Main Content
Masterminds of Programming
book

Masterminds of Programming

by Federico Biancuzzi, Chromatic
March 2009
Intermediate to advanced content levelIntermediate to advanced
496 pages
18h 40m
English
O'Reilly Media, Inc.
Content preview from Masterminds of Programming

Chapter 4. Forth

The Forth Language and Language Design

How do you define Forth?

Chuck Moore: Forth is a computer language with minimal syntax. It features an explicit parameter stack that permits efficient subroutine calls. This leads to postfix expressions (operators follow their arguments) and encourages a highly factored style of programming with many short routines sharing parameters on the stack.

I read that the name Forth stands for fourth-generation software. Would you like to tell us more about it?

Chuck: Forth is derived from “fourth,” which alludes to "fourth-generation computer language.” As I recall, I skipped a generation. FORTRAN/COBOL were first-generation languages; Algol/Lisp, second. These languages all emphasized syntax. The more elaborate the syntax, the more error checking is possible. Yet most errors occur in the syntax. I determined to minimize syntax in favor of semantics. And indeed, Forth words are loaded with meaning.

You consider Forth a language toolkit. I can understand ...

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.
Start your free trial

You might also like

More Exceptional C++

More Exceptional C++

Herb Sutter
The Art of UNIX Programming

The Art of UNIX Programming

Eric Steven Raymond

Publisher Resources

ISBN: 9780596801670Errata Page