Learning C3
27 points by tiniuclx
27 points by tiniuclx
C3 macros don’t have quite the AST manipulation power of C
I believe I know what the author is talking about, but “AST manipulation power” is not something I’d associate with C macros since they’re, imo, mere results of string manipulation. I’d associate it with Lisp macros though.
I am guessing it’s the ability for the C preprocessor to do incomplete statements and expressions and in general be unhygienic and break all the rules.
What might be interesting to note is that the author is a Zig user, so this is partly coming from that perspective.