There is a small macro tool that will expand the arguments before calling
the macros body. Forgot its name. This is closest you get with what you are
asking for. Its a really cool macrology based on syntax rules. Its included
in guile standard.

On Tue, 16 Jun 2020, 19:59 Linus Björnstam, <linus.inter...@fastmail.se>
wrote:

> Hi!
>
> Is there any simple way to programmatically expand a macro? I already have
> a PoC that uses syntax-local-binding, but that is quite complex.
>
> Say I have a macro called (hej body ...), can I in any simple way expand
> (body ...) so that all macros within are expanded? Without relying on
> syntax-local-value and doing it all myself, that is.
>
> Best regards
>   Linus Björnstam
>
>

Reply via email to