unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Recent change to syncase.scm
@ 2003-01-16 12:01 Mikael Djurfeldt
  2003-01-16 12:41 ` Mikael Djurfeldt
  2003-02-07  4:13 ` Rob Browning
  0 siblings, 2 replies; 4+ messages in thread
From: Mikael Djurfeldt @ 2003-01-16 12:01 UTC (permalink / raw)
  Cc: djurfeldt

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
macros.

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


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-02-07  7:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-16 12:01 Recent change to syncase.scm Mikael Djurfeldt
2003-01-16 12:41 ` Mikael Djurfeldt
2003-02-07  4:13 ` Rob Browning
2003-02-07  7:01   ` Mikael Djurfeldt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).