Any good software engineer will tell you that a compiler and an interpreter are interchangeable.
—Tim Berners-Lee
The goal of the Interpreter design pattern is, you guessed it, to interpret input, particularly textual input, although to be fair it really doesn’t matter. The notion of an interpreter is greatly linked to Compiler Theory and similar courses taught at universities. Since we don’t have nearly enough space here to delve into the complexities of different types of parsers and whatnot, the purpose ...