A tale in 3 pictures.
-
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428 old and busted: php as a c preprocessor¹
hot and new: c preprocessor as a php
¹ https://stackoverflow.com/questions/396644/replacements-for-the-c-preprocessor/16256052#16256052
Edit: Originalquelle verlinkt
-
@citizen428 I once did something not quite dissimilar with Forth and CGI scripts. I think this is fine! ;-D
-
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428@chaos.social Oh oh-no...
-
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428 if it works don't fix it i guess. Somehow it feels like react but without the reactivity

-
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428 Your scientists were so preoccupied with whether or not they could, they didn't stop to think if they should
-
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428 the C preprocessor is just m4 with marginally worse syntax. it was *designed* for this. (or more accurately, m4 was designed because someone else did this)
-
@overflo @citizen428 Kinky geeks wäre mindestens mit Seilen. Das ist nur vanilla "kreativ".
@phantasus @citizen428 ich erkenn doch Masochismus wenn ich ihn sehe.
-
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428 Yesssss, goooood
-
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
-
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428 @eniko Impressive!


-
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428 @joe Hey, guess what syntax the C preprocessor strips out for you?
Guess what syntax is really common in web pages? (and also property lists, where I first encountered this clash)
-
@citizen428 @joe Hey, guess what syntax the C preprocessor strips out for you?
Guess what syntax is really common in web pages? (and also property lists, where I first encountered this clash)
@jrose @citizen428 to their credit, they did say it was a bad idea
-
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428 @roskakori probably did this about 30 years ago

-
R relay@relay.publicsquare.global shared this topic
-
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428 Himmel!
-
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428 this is based actually
-
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428 for GCC, add #define true 1
-
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428 I suspect that the fact that my first reaction is "Oh, how do I get that?" says a lot about me. Probably not good things either.
-
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428 This is magnificent and I *will* use it in production.
-
The horrors:
C preprocessor abuse
C preprocessor abuse. GitHub Gist: instantly share code, notes, and snippets.
Gist (gist.github.com)
So, it's some kind of chtml...
(you'll definitively want to put the ```#define HTML``` in a .h.tml file included by abuse.c)
-
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428 *points and snaps* Nord Theme.
