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)
“Every child has an inner timetable for growtha pattern unique to him. . . . Growth is not steady, forward, upward progression. It is instead a switchback trail; three steps forward, two back, one around the bushes, and a few simply standing, before another forward leap.”
—Dorothy Corkville Briggs (20th century)