miniblog.
← Back to all posts
Oct 7, 2017 at 12:11
Shen macros are interesting: here's an example of defining a macro to expand a func call to a call to the same func!
404 - File or directory not found.
www.shenlanguage.org/learn-shen/macros.html
Wilfred Hughes
Related Posts
Sep 27, 2021 at 05:56
Neat cargo plugin I haven't seen before:
https://crates.io/crates/cargo-expand
`cargo expand` will expand macros so you can see the regular Rust code produced. For example, println!(); expands to this (even syntax highlighted!).
Wilfred Hughes
Shared words: macros, example, expand Score: 40
Jun 5, 2016 at 19:08
At least, this has been my experience with Scheme. I think Shen and Forth run the same risk. 2/2
Wilfred Hughes
Shared words: Shen Score: 37.8
Jan 6, 2015 at 19:56
Shen is now going to be BSD licensed! Awesome!
Wilfred Hughes
Shared words: Shen Score: 37.8