Based on https://github.com/rust-lang/rust/pull/34925 it seems it is possible for macro_rules! to define new macros within itself.
Are there any cool examples of what can be done with this technique ?
(No, I don't have a problem I need solved. I am just curious what is possible.)
1 Like
vague
2
I'd suggest reading this thread where steffahn put foward a macro of that kind well using patterns.
3 Likes
system
Closed
3
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.