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 wide-ranging capabilities.
Of course, the best way to learn is to do, and I felt like indulging in some masochism. So - onwards!