Fun Extending the C Preprocessor
Home Fun-Extending-the-C-Preprocessor David Priver, October 13th, 2026 As I've mentioned in previous posts, I've been writing my own C2Y Compiler / Interpreter / REPL for fun. One of the first things one has to do when writing a C Compiler is to first write a C Preprocessor (also known as the CPP). Counter to what most people think of the C Preprocessor, it is not a text-to-text translator. Instead it is a source to C token translator, with most implementations offering a text output to see what
Read full article →