IOCCC image by Matt Zucker

The International Obfuscated C Code Contest

1995/dodsond1 - Most humorous

Text to Pig Latin translator

Author:

To build:

    make all

To use:

    ./dodsond1 < text_file

Try:

    ./dodsond1 < README.md

Judges’ remarks:

You might consider giving the following input:

… a male (who) gets very, very frustrated sitting in a chair all
the time because males are biologically driven to go out and hunt
giraffes.
– Adjunct Professor Newt Gingrich, Reinhardt College, 1/7/95

… which can be done like:

    ./try.sh

Author’s remarks:

Istha ogrampra akesta Englishwa extta aswa inputwa andwa anslatestra itwa intowa Igpa Atinla.

The obfuscation is on several levels.

Most obviously, the shape of the program.

Underneath that, the variable names are in pig Latin, as are the names of the standard C functions, such as putchar(). Even main is written as ainma.

The program construction is also very obfuscated, with all of the code being inside the ()’s of one of the 6 orfa loops.

Inventory for 1995/dodsond1

Primary files

Secondary files


Jump to: top