From: Mikael Djurfeldt <mdj@kvast.blakulla.net>
Cc: djurfeldt@nada.kth.se
Subject: Recent change to syncase.scm
Date: Thu, 16 Jan 2003 13:01:09 +0100 [thread overview]
Message-ID: <E18Z8hp-0001cH-00@linnaeus> (raw)
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
next reply other threads:[~2003-01-16 12:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-16 12:01 Mikael Djurfeldt [this message]
2003-01-16 12:41 ` Recent change to syncase.scm Mikael Djurfeldt
2003-02-07 4:13 ` Rob Browning
2003-02-07 7:01 ` Mikael Djurfeldt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E18Z8hp-0001cH-00@linnaeus \
--to=mdj@kvast.blakulla.net \
--cc=djurfeldt@nada.kth.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).