Abusing The C Preprocessor: Writing A 4-Bit Adder

I've always wondered what could be done with the C preprocessor. The existence of projects such as Boost Preprocessor and the infamous Brainfuck interpreter are a testament to its very interesting capabilities.

However, as they say, the best way to learn is to do, and I felt like indulging in some masochism. So - onwards!

Read More