Writing macro_rules macros by hand really does give me the "programming is writing weird gibberish"-feel.
-
-
(currently trying to figure out how to restore "key = value" pairs-style args in log for kv logging ahahahelp)
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Haha well I mean, it's not unlike regexes for ASTs...
End of conversation
New conversation -
-
-
I think we got rid of it once 1.15 was stable, but Diesel used to have a macro that would parse struct bodies in `macro_rules!` and took a callback macro as an arg that had to do kv pairs in some known order and everything looked like this
-
Parsing table definitions still does. https://github.com/diesel-rs/diesel/blob/master/diesel/src/macros/mod.rs#L292 …
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.