11.4 FORTH

Forth is an unusual language. It provides an interactive development environment, which includes both an interpreter and a compiler. Forth programming style encourages you to break a problem down into many small fragments (factoring) and then to develop and test each fragment interactively. Forth advocates assert that breaking the edit-compile-test cycle used by conventional programming languages can lead to great productivity improvements. FORTH is an extensible language, in the sense that you can add your own functions (called words) to its dictionary and they become part of the language. In fact, major portions of FORTH are written in FORTH language.

The language used by most of the Laser printers – PostScript – is derived from ...

Get Compilers: Principles and Practice now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.