Mid GoF Patterns

Extending the Grammar:?

  • The Interpreter Pattern can be extended to support more complex

grammars. For example, adding new operations like subtraction or division

can be easily done by introducing new non-terminal expressions (e.g.,

Subtract, Divide).

More from Design Patterns in C#

All questions for this course