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 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 I once did something not quite dissimilar with Forth and CGI scripts. I think this is fine! ;-D
@Lemmus A man of culture I see.
-
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428 seems perfectly sensible to me. C pre processor is fast and well-understood.
-
@citizen428 some slight modifications, and you can use cpp -E + that to make a static site generator using the preprocessor.
-
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428 Looks more sensible than generating programs with it.
-
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 reminds me of the horrors me and @friz64 were up to, also serving an entire web page from an ESP32 as one big string iirc, base64 encoded images and all.
-
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428 That's called GNU M4.
-
-
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428
Macros are a really bad idea that should never be used in C. They are unfortunately needed in Assembler, but assembler, other than to boot strap a compiler is not needed for the last 30 years. Not even on microcontrollers (see Forth and JAL). -
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428 Oh great, doxygen patch coming in 3 .. 2 .. 1 ..
-
@citizen428 I once did something not quite dissimilar with Forth and CGI scripts. I think this is fine! ;-D
Looks a bit like perlcgi.
-
@leyrer @citizen428 I would say finally that the C pre-processor is nearing the realm of the mighty lisp macro systems.
-
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428 I did a somewhat similar thing in AtomVM on a microcontroller. Saves lots of memory!
-
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428 Ein klarer Fall für die kinky geeks
-
@citizen428 Ein klarer Fall für die kinky geeks
@overflo @citizen428 Kinky geeks wäre mindestens mit Seilen. Das ist nur vanilla "kreativ".
-
@citizen428 reminds me of the horrors me and @friz64 were up to, also serving an entire web page from an ESP32 as one big string iirc, base64 encoded images and all.
@tea @citizen428 @friz64 others do the same using ConfigMaps ... 🫢
-
@citizen428
Macros are a really bad idea that should never be used in C. They are unfortunately needed in Assembler, but assembler, other than to boot strap a compiler is not needed for the last 30 years. Not even on microcontrollers (see Forth and JAL). -
A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.
@citizen428 I did this with rust before!
