3 ms·
I know procedural macros are different in how they work and more flexible, but the problem remains the same: you can't really look at any macro definition and g
by xfer 8y ago
I know procedural macros are different in how they work and more flexible, but the problem remains the same: you can't really look at any macro definition and go i know how to use this.
A vector of tokens is not the syntax a programmer can parse without the grammar definition that the macro implements. It's still foreign unless it is well-written to match existing language constructs.
- steveklabnik 8y agoSure; to be clear, I'm trying to point out what I think your parent is getting at. I don't necessarily agree.