IOCCC image by Matt Zucker

The International Obfuscated C Code Contest

2014/wiedijk - Most functional

Y combinator

Author:

To build:

    make

To use:

    ./prog

Try:

    ./try.sh

By default that will use indent(1) found by the shell type -P indent and sed(1) found by the shell type -P sed but if you want to change these, say to try a different beautifier, you can do it like:

    INDENT=bcpp ./try.sh

which would change it to use bcpp(1) instead of indent(1). Do similar for sed(1) only use the name SED.

Judges’ remarks:

C11 features definitely help this entry to be as concise as it is.

The judges would like to think that they had almost understood how this entry works.

If you win a bet by demonstrating this entry, please let us know.

Author’s remarks:

Remarks

    W_f = \x.f(xx)
    Y = \f.W_f W_f

Inventory for 2014/wiedijk

Primary files

Secondary files


Jump to: top