PL/I winner in C

Norman Diamond diamond at csl.sony.co.jp
Thu Oct 26 11:17:48 AEST 1989


The famous PL/I obfuscation winner can be rendered into C.

IF IF = THEN THEN THEN = ELSE; ELSE ELSE = IF;

The following is a "free" translation, attempting to preserve the
style more than the literal meaning.

endif =
#ifdef ifdef
ifdef == elif
#elif elif == endif
endif == ifdef
#endif
;

-- 
Norman Diamond, Sony Corp. (diamond%ws.sony.junet at uunet.uu.net seems to work)
  Should the preceding opinions be caught or     |  James Bond asked his
  killed, the sender will disavow all knowledge  |  ATT rep for a source
  of their activities or whereabouts.            |  licence to "kill".



More information about the Comp.lang.c mailing list