Abstract
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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2016 Matt Zandstra
About this chapter
Cite this chapter
Zandstra, M. (2016). Appendix B: A Simple Parser. In: PHP Objects, Patterns, and Practice. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1996-6_24
Download citation
DOI: https://doi.org/10.1007/978-1-4842-1996-6_24
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-1995-9
Online ISBN: 978-1-4842-1996-6
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books