Monday, July 4, 2011

Obfuscated Tiny C Compiler (OTCC)

Fabrice Bellard (via Hacker News):

My goal was to write the smallest C compiler which is able to compile itself. I choose a subset of C which was general enough to write a small C compiler. Then I extended the C subset until I reached the maximum size authorized by the contest: 2048 bytes of C source excluding the ';', '{', '}' and space characters.

Comments RSS · Twitter

Leave a Comment