Comment by WalterBright

4 years ago

D can indeed do it. But that is way too advanced for what C is.

I'll repeat that if metaprogramming is important to you, you need a more advanced language. Why are you using C if you want advanced features?

Because it seems to me that metaprogramming/preprocessing/code generation is orthogonal to how advanced or complex the language is.