Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Concept

Interpreter Pattern

Technique

A Gang of Four behavioral design pattern that defines a representation for a language's grammar together with an interpreter that evaluates sentences in that language, used to build small domain-specific languages and expression evaluators.

Facts
Origin Year
1994 1
Core Principle
Defines a representation for a language's grammar together with an interpreter that uses the representation to evaluate sentences written in that language. 2
Connections

Associated With

Erich Gamma, Pioneers

Erich Gamma co-authored the 1994 Design Patterns book that named and catalogued the Interpreter pattern among the original 23.

In Field

Sources
1. Wikipedia: Design Patterns (book)
Wikimedia FoundationLead section, first sentence
Quote, Lead section, first sentence
Design Patterns: Elements of Reusable Object-Oriented Software (1994) is a software engineering book describing software design patterns.
View the Source
2. Wikipedia: Interpreter Pattern
Wikimedia FoundationLead section, first sentence
Quote, Lead section, first sentence
the interpreter pattern is a design pattern that specifies how to evaluate sentences in a language.
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.