[Top][All Lists]

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

Recent change to syncase.scm

From: Mikael Djurfeldt
Subject: Recent change to syncase.scm
Date: Thu, 16 Jan 2003 13:01:09 +0100

Just F.Y.I.:

I've enabled Guile macro macro expansion in syntax-case macro
expansion.  This means that, for the first time, Guile macros and
syntax-case macros should play reasonably well together.

One of the good effects is that goops code now can use syntax-case

There is one constraint, however: Macro expansion is made in advance
of evaluation.  This has the effect that the environment argument of
the Guile macro transformer can't easily be used for looking up
bindings.  It *is* still possible to use it to differ between
top-level and a lexical environment, though.  It is also possible to
extract the eval-closure.

It *is* possible to make them play perfectly together, by delaying
expansion (and further syncase expansion) until evaluation, but I
figured this wasn't very useful since Dirk is working on
pre-evaluation expansion anyway.

Best regards,

reply via email to

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