Hacker News new | ask | show | jobs
by shmolyneaux 3064 days ago
There is a common set packages [0][1][2] that provide macros that are more similar to lisp-style macros (when operating on structs). [2] in particular implements quasi-quoting in rust.

[0]: https://doc.rust-lang.org/proc_macro/index.html [1]: https://github.com/dtolnay/syn [2]: https://github.com/dtolnay/quote