PHP Architect · Vol 17, Issue 4 · April 2018
Evolved PHP
by Chris Pitt
Last time, we looked at how to go about adding our own syntax to PHP. We explored a range of options; from submitting to the core project, to using preprocessor macros. We looked at a few uses for custom syntax and even created a silly little Minecraft DSL compiler.
The full article is in PHP Architect Vol 17, Issue 4. Subscribe to read it and every new issue.