This chapter covers the Interpreter pattern.
GoF Definition
Given a language, define a representation for its grammar along with an interpreter that uses the representation to interpret sentences in the language.
Concept
This pattern plays the role of a translator, and it is often used to evaluate sentences in a language. So, you first need to define a grammar to represent the language. Then the interpreter deals with that grammar. This pattern is best when the grammar is simple.