An important part of your C Programming Language verification suite
#define fine #define de #define/**/ /**/*#define*/
#define de #define
#define do de
do { begin
do you like (green eggs and ham++)?
do you eat them: in a box?
do you eat them with a fox?0
do } end
fine
fine, just fine.
/*@@@@@@@@@@@@=___
/@@@@@@@@@@@@@@@@@@@a
@@@@@@@@@@@@@@@@@@@@@
|@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@
@=~ ~~@@@/
/
|
/@@@@@===__ |
@@@@@@@@@@@@==/
/@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@
/ ~~~====@@@@@@
/ ~~~/
| /
/____ |
@@@@@@@@=====__/
@@@@@@@@@@@@@@@@
/@@@@@@@@@@@@@@@
/@@@@@@@@@@@@@@@|
___/ ~~~~@@*/
char groo(p,q)int p;int q;{return
((char) (--q*q+ (p/10)*q+--p))
; }void grem /**/ (){ int x=0
; printf(" ")
;/**/ /**/ for(;x<16
; x++)printf
( "%c",groo(x
, 8)) ;printf
( "nn")
; }void cred(a
) int a;{int
x=0;printf
( "%c "
, /*_____===~*/ groo(a,8))
; for(;x<16
; x++)printf
( "%c",(char)
a*16+ x);printf(
"n");}main(a
,b)int a;
char **b ;{int x=2;
do(x=0;x<4;x++)exit(0);
for(grem();x<1<<3+(int)b[0]
[0]%2;)cred (++x-1);}
It will come as no surprise that modern tentacleware "C" compilers will not compile this lovely example of standards stress-testing, while gcc 2.7.0 compiles this code without more han a slight anguished whimper. Too bad Apple didn't ship 2.7 with Xcode.
(gandalf.c is one of the winners of the 1996 International Obfuscated C Code Contest)
Comments
rone
Thu Dec 6 00:08:08 2007
The International Obscene C Coding Contest?
I see a great need for this product and/or service.
David Parsons
Sat Dec 8 02:13:39 2007
Comments are closed
I’m a little tired after late night soccer. That looked like an oddly erect cock to me.