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

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