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 | 485 | January 8, 2022 | |
Macro stepper and macros with endless recursion | 1 | 130 | December 1, 2023 | |
Macro optimisation in Racket | 2 | 218 | September 27, 2023 | |
Is this macros pair possible? | 2 | 256 | June 2, 2022 | |
In macro, is object a macro or a procedure? | 11 | 83 | November 22, 2024 |