[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatically expand macros

From: Stefan Israelsson Tampe
Subject: Re: Programmatically expand macros
Date: Sat, 20 Jun 2020 17:53:40 +0200

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, <>

> 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

[Prev in Thread] Current Thread [Next in Thread]