26 Mar 24
31 Dec 23
Actual RULES for how macro_rules macros work in Rust.
by mcherm
2 years ago
21 Dec 23
A simple use of macros in Rust that I understand and like: providing a way to create default arguments.
by mcherm
2 years ago
02 Aug 23
12 Jul 23
Basically when you’re writing Janet-style macros, you can/should unquote pretty much every symbol in order to do lexical lookup at the macro-definition at compile time, rather than the call-site at runtime
by eli
2 years ago