Hi Maxime!
On 7/28/22 12:23, Zelphir Kaltstahl wrote:
Hello Maxime!
On 7/28/22 02:55, Maxime Devos wrote:
These macros all sound more complicated than necessary -- on the first one,
I've sent you a message with sneek:
;; By: Maxime Devos
;; This does not recurse into #(...).
;; Also, such
On 30-07-2022 17:42, Zelphir Kaltstahl wrote:
[...]
But now comes the problem:
Since I want to replace all occurrences of for example and
does not need to be defined, I think I must use define-syntax, to
avoid Guile trying to evaluate the arguments to a function call. OK,
so a macro I wr
On 30-07-2022 22:44, Maxime Devos wrote:
"All I want to do" is to replace some placeholder (in this case )
in an arbitrary form. No matter how that form looks or how deeply it
is nested, if there are inside of it, I want to replace them. Is
this impossible?
Yes, see e.g. the replace-place
On 30-07-2022 17:42, Zelphir Kaltstahl wrote:
Does this mean, that recursive application of a macro inside a macro
is impossible? To expand to subforms being the same macro again and
this way transform a whole tree of s-expressions?
You can have recursive macros, see e.g. the let^ macro at