IT lexicon › Programming › Icon

Icon

Programming På svenska → Updated: 2026-11-12

String-processing language from 1977 at University of Arizona, focused on pattern matching and text manipulation.

Icon was developed by Ralph Griswold at the University of Arizona as a more approachable alternative to SNOBOL. While SNOBOL was complex with its own regex dialect, Icon aimed for a clean procedural syntax with built-in pattern matching through a generator model—each operation can produce multiple values and backtrack on failure. Icon was also known for an early graphics library that made simple animation and visualization accessible on 1980s hardware.

Icon was widely used for rapid text processing, data validation, and ad-hoc scripting. It influenced the design of later languages like Prolog (via its backtracking model) and inspired numerous "alternative" languages in the Unix tool ecosystem. Today Icon is nearly obsolete, but its backtracking concept lives on in modern constraint programming and logic languages, and its graphics library was ahead of its time in making visualization part of the language itself.

← Back to the lexicon