Top
Best
New

Posted by synergy20 10/24/2024

Pretty.c(github.com)
370 points | 221 commentspage 5
swiftcoder 10/24/2024|
This is as horrific as it is wonderful.
aartaka 10/24/2024|
Thanks!
mjan22640 10/24/2024||
Are variadic macros turning complete?
ay 10/24/2024|
Yes. https://github.com/rofl0r/chaos-pp
MrLeap 10/24/2024||
love. It.
aartaka 10/24/2024|
Thanks!
jcmontx 10/24/2024||
does this transpile to C or how does it actually work?
jdthedisciple 10/24/2024|
it's just aliases

preprocessor is using those #defines to replace tokens in the code so it ends up as usual C

revskill 10/24/2024||
Or just use Ruby.
cmcconomy 10/24/2024||
someone's salty about tiobe!
SuperHeavy256 10/24/2024||
So sweet :))
aartaka 10/24/2024|
Yeah, I love sugar ;)
ngcc_hk 10/24/2024||
Can we just pascal?
aartaka 10/24/2024|
I won't stop you, so be my guest.
unwind 10/24/2024|
Meta: the naming is ... strange.

The actual name of the repo is "pretty.c", but the name used for the language/dialect/result/horrorshow[*] is "Pretty C".

The actual code file you include is called "pretty.h", which makes sense since it's a header, of course. Confusing!

Edit: escapes.

[*] Yes, I'm a C programmer, currently hunting for black-marked insulin to combat the rapid-onset diabetic attack from all that sugar. Sorta.

nneonneo 10/24/2024||
I mean, don’t say the repo didn’t warn you!

> The goals for Pretty C are: Provide so much syntactic sugar as to cause any C developer a diabetes-induced heart attack.