4 ms·
Congrats, you've re-discovered the same origin where PHP started nearly 20 years ago. Maybe you could replace the generic c preprocessor dialect with a new dom
by EvanPlaice 11y ago
Congrats, you've re-discovered the same origin where PHP started nearly 20 years ago.
Maybe you could replace the generic c preprocessor dialect with a new domain specific DSL. For instance one where macros can simply be embedded directly into HTML. For instance everything between the <? and ?> is parsed as macros. /s
- krapp 11y agoI wonder if one could propose that "any sufficiently complicated static website compiler contains an ad-hoc, informally specificed, bug ridden, slow implementation of half of PHP..."
- EvanPlaice 11y agoHaha, I never thought of it like that before. That probably holds true for any one written in C. Maybe even some others that use server-side view generation.