[edit: ough, Discourse shouldn’t force capitalize the first character of thread titles…]
I wrote a thing:
An experimental (probably broken) procedural macro. Instead of code like this:
parser.parse_item(vec!, true, false)
this macro lets you write code like this!
parser.parse_item(attrs: vec!, macros_allowed: true, attributes_allowed: false)
Written partly as a proof of concept for a potential future Rust feature, but
also to be practical and usable today. Sort of. In theory.
Feedback highly desired, e.g. on topics ranging from “how do I use this” to “this is broken” to “why why why would you do this”.