Skip to main content

Posts

Showing posts with the label interpreter pattern

Behavioral Patterns: Interpreter

Properties: -            Used to interpret sentences defined in specific language. -            Each rule in language grammar has a corresponding expression class. Expressions can be terminal or non-terminal. -            For more information it is advised to visit  http://en.wikipedia.org/wiki/Interpreter_pattern . Example: For an example usage of interpreter pattern it is possible to review  Simple Java Regular Expression  article.