In computer programming, the interpreter pattern is a design pattern that specifies how to evaluate sentences in a language. The basic idea is to have a class for each symbol (terminal or nonterminal) in a specialized computer language. The syntax tree of a sentence in the language is an instance of the composite pattern and is used to evaluate (interpret) the sentence.
Read more about Interpreter Pattern: Uses For The Interpreter Pattern, Structure, Example
Famous quotes containing the words interpreter and/or pattern:
“Man, being the servant and interpreter of nature, can do and understand so much and so much only as he has observed in fact or in the course of nature: beyond this he neither knows anything nor can do anything.”
—Francis Bacon (15601626)
“It may be tempting to focus on the fact that, even among those who support equality, mens involvement as fathers remains a far distance from what most women want and most children need. Yet it is also important to acknowledge how far and how fast many men have moved towards a pattern that not long ago virtually all men considered anathema.”
—Katherine Gerson (20th century)