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.)
“For what is wedlock forcèd, but a hell,
An age of discord and continual strife?
Whereas the contrary bringeth bliss,
And is a pattern of celestial peace.”
—William Shakespeare (15641616)