Fun Extending the C Preprocessor
Summary
David Priver describes extensions to the C Preprocessor by implementing macros such as __print, __where, __map, and __VA_COUNT__, demonstrating how to debug macro expansions, apply transformations to argument lists, and count variadic arguments. The post includes concrete code examples and discusses tradeoffs between readability and complexity, pointing to a public GitHub project with further extensions.