Tuesday, January 20, 2015

Interpreter Design Pattern

Type: Behavioral Design Pattern


Summary :

Interpreter design pattern is a behavioral design pattern. It is used to interpret or evaluate an expression(like sentence, query, mathematical expression etc). 


In this pattern Expression is considered to be composition or Terminal Expression and Compound Expressions. 


Example: 

SQL Squery,  Search engine query processing are example for Interpreter design pattern.

No comments :

Post a Comment