![GoF Design Patterns – Behavioral Patterns – Interpreter](https://circle.visual-paradigm.com/wp-content/uploads/2017/08/GoF-Design-Patterns-Behavioral-Patterns-Interpreter.png)
This is a class diagram example for the Interpreter design pattern.
Purpose
Defines a representation for a grammar as well as a mechanism to understand and act upon the grammar.
Use When
- There is grammar to interpret that can be represented as large syntax trees.
- The grammar is simple.
- Efficiency is not important.
- Decoupling grammar from underlying expressions is desired.
Import into your Project
Open diagram in Visual Paradigm [?]Copy the URL below, paste it in the Open Project windows of Visual Paradigm and press Enter to open it |
Posted by: Carol Sandusky