HTML written only using the C preprocessor
27 points by hugoarnal
27 points by hugoarnal
Source code: https://gist.github.com/citizen428/2803ea2751282abb622d94ce77636569
There needs to be a “cursed” tag, I would read them all.
If you're going to push CPP that far, why not go all the way and use m4 macros?
Ahem. A long, long time ago I used make and cpp to maintain my website. Later I upgraded to m4. I wrote an article on the subject, and Linux Magazine published it.
Fun fact - the m4 example on Wikipedia is an html template https://en.wikipedia.org/wiki/M4_(computer_language)
But honestly... There's cursed, and there's "why would you do that even as a joke?"dnl