News for hackers. Stuff that matters.
Re:Compiling a Static Web Site Using the C Preprocessor by EvanPlaice on Saturday February 06, 2016 @11:37AM (#11048379)
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

Re:Compiling a Static Web Site Using the C Preprocessor by krapp on Saturday February 06, 2016 @11:54AM (#11048473)
I 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..."
Re:Compiling a Static Web Site Using the C Preprocessor by EvanPlaice on Saturday February 06, 2016 @05:58PM (#11050428)
Haha, 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.