IOCCC Z-machine interpreter

You might have heard of the The International Obfuscated C Code Contest, which has run since 1984 and challenges programmers to come up with novel programs whose source code is obfuscuated. The contest has been on and off over the years, but the results for the 28th contest have finally come in, and one of the winning entries should be of interest to this community - a Z-machine interpreter!

It just supports version 3 Z-machine files, but it’s pretty impressive for how small and, well, obfuscated its source code is.

15 Likes

If you’re wondering how small it is, this is the complete source without some of the file-size optimizations that make it even smaller. I’m terrified.

6 Likes

i thought i knew C, apparently i don’t.

the killer’s row of closing brackets at the end is, in itself, terrifying.

3 Likes

To be fair, I think C and obfuscated C are basically two completely different languages.

2 Likes

You mean there’s such a thing as non-obfuscated C?

Of course! It’s not Perl.

2 Likes

An obfuscated Perl contest sounds redundant.

1 Like

Then there is Malbolge

2 Likes

hats off to Christopher Mills!

We had Perl golfing instead.

1 Like