I am currently trying to work with something I need to keep backwards compatible, and find myself wanting to write macros that depend on the output of another macros expansion. Is there any way to do that besides local-expand or syntax-local-expand-expression? I get #%app forms in my expansion when I use syntax-local-expander and local-expand, and I have tried using the macros in different phase levels with no success
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Writing a macro that behaves differently depending on context | 2 | 486 | January 8, 2022 | |
| Is this macros pair possible? | 2 | 258 | June 2, 2022 | |
| Macro stepper and macros with endless recursion | 1 | 130 | December 1, 2023 | |
| Macro optimisation in Racket | 2 | 221 | September 27, 2023 | |
| Wrap a macro injecting bindings in another macro | 4 | 337 | November 2, 2022 |