Swipe to navigate through the chapters of this book
The Interpreter pattern discussed in Chapter 11 does not cover parsing. An interpreter without a parser is pretty incomplete, unless you persuade your users to write PHP code to invoke the interpreter! Third-party parsers are available that could be deployed to work with the Interpreter pattern, and that would probably be the best choice in a real-world project.
Please log in to get access to this content
To get access to this content you need the following product:
- Appendix B: A Simple Parser
- Sequence number
- Chapter number
- Chapter 24