Introduction

Interpreter Design Pattern is a Behavioral Design Pattern. Interpreter pattern is used to defines a grammatical representation for a language and provides an interpreter to deal with this grammar. It defines grammar of a particular language in an object-oriented way which can be evaluated by the interpreter itself.