[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Programmatically expand macros
From: |
Catonano |
Subject: |
Re: Programmatically expand macros |
Date: |
Fri, 19 Jun 2020 12:14:11 +0200 |
Hi Linus
Il giorno mar 16 giu 2020 alle ore 19:59 Linus Björnstam <
linus.internet@fastmail.se> ha scritto:
> 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.
>
No, Guile has no such facility
There was a previous discussion of this, here
https://lists.gnu.org/archive/html/guile-user/2018-05/msg00019.html