# How to have macro use result of another macros expansion

**URL:** https://racket.discourse.group/t/how-to-have-macro-use-result-of-another-macros-expansion/3830
**Category:** Questions & Answers
**Created:** [July 3, 2025, 5:10pm UTC](https://racket.discourse.group/t/how-to-have-macro-use-result-of-another-macros-expansion/3830 "2025-07-03T17:10:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sora22](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/sora22/32/2622_2.png) [@sora22](https://racket.discourse.group/u/sora22)
#### Post date: [July 3, 2025, 5:10pm UTC](https://racket.discourse.group/t/how-to-have-macro-use-result-of-another-macros-expansion/3830/1 "2025-07-03T17:10:29Z")

</div>

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
