Compiling a Static Web Site Using the C Preprocessor
ithare.com
ithare.com
"Rather quickly it was realized that if you want to ensure a reasonable user experience both on desktops and mobiles, there is absolutely no way you can use the same HTML for both sites."
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
That probably holds true for any one written in C. Maybe even some others that use server-side view generation.
I thought about m4 all the time while reading through that post...