C preprocessor internals(monoinfinito.wordpress.com) |
C preprocessor internals(monoinfinito.wordpress.com) |
This can be used to explain much of C. :)
I used it once to write DSLs to define data structures, where a few lines of code were expanded to hundreds of lines of templates, (de)serialization code, etc...