3 ms·
I was not aware Rust had macros. Does that mean one can write lispy things like the "with-*" macros ? Sorry, I'm afraid I'm confessing my affair with Emacs but
by swah 14y ago
I was not aware Rust had macros. Does that mean one can write lispy things like the "with-*" macros ?
Sorry, I'm afraid I'm confessing my affair with Emacs but I swore I'd leave her behind...
- kibwen 14y agoRust's macros are generally Scheme-like (macro-by-example), although it's not exactly the same since Rust obviously doesn't use S-expressions. See http://static.rust-lang.org/doc/0.5/tutorial-macros.html http://static.rust-lang.org/doc/0.5/tutorial-macros.html for a little more info on Rust's macros system.