Interpreter pattern
Approach in computer programming / From Wikipedia, the free encyclopedia
Dear Wikiwand AI, let's keep it short by simply answering these key questions:
Can you list the top facts and stats about Interpreter pattern?
Summarize this article for a 10 year old
SHOW ALL QUESTIONS
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 for a client.[1]:ā243ā See also Composite pattern.
This article needs additional citations for verification. (November 2008) |