Interpreter pattern: Difference between revisions

Content deleted Content added
Line 224:
<!-- Wikipedia is not a list of examples. Do not add examples from your favorite programming language here; this page exists to explain the design pattern, not to show how it interacts with subtleties of every language under the sun. Feel free to add examples here: http://en.wikibooks.org/wiki/Computer_Science_Design_Patterns/Interpreter -->
 
=== PHP (Example 1) ===
<source lang="php">
/**