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:
“For man is but the servant and interpreter of nature: what he does and what he knows is only what he has observed of natures order in fact or in thought; beyond this he knows nothing and can do nothing.”
—Francis Bacon (15601626)
“Man is eminently a storyteller. His search for a purpose, a cause, an ideal, a mission and the like is largely a search for a plot and a pattern in the development of his life storya story that is basically without meaning or pattern.”
—Eric Hoffer (19021983)