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:
“The best interpreter of the law is custom.”
—Marcus Tullius Cicero (10643 B.C.)
“Each child is an adventure into a better lifean opportunity to change the old pattern and make it new.”
—Hubert H. Humphrey (19111978)