Google
 
   
Login
Username:

Password:


Lost Password?

Register now!
Search
Main Menu
service
top books
Polls
What do you think about php-deluxe.net?
Excellent!
Cool
Hmm..not bad
What the hell is this?
encyclopedia
recommendation
Freenet DSL
Who's Online
10 user(s) are online (8 user(s) are browsing encyclopedia)

Members: 0
Guests: 10

more...
partner

Interpreter pattern

In computer programming, the interpreter pattern is a particular design pattern (computer science). The basic idea is to implement a Domain specific languages to rapidly solve a defined class of problems. Specialized languages often let a problem be solved several to several hundred times more quickly than a general purpose language would permit.

One common example is the specialized database query languages such as SQL. Another example is that specialized computer languages are often used to describe communication protocols. Another is that most general-purpose computer languages actually incorporate several specialized languages: one to define data, one to define operations on the data, one to define when to perform the operations, and at least one to define how to translate the computer program to machine language.

==See also== *Powerful interpreter *Block (Java programming language) *Domain specific languages
  • Design Patterns p. 243