From: Andy Wingo <wingo@pobox.com>
To: Stefan Israelsson Tampe <stefan.itampe@gmail.com>
Cc: guile-devel <guile-devel@gnu.org>
Subject: Re: syntax-local-value patch for discussion
Date: Mon, 23 Jan 2012 11:53:43 +0100 [thread overview]
Message-ID: <87pqeapu4o.fsf@pobox.com> (raw)
In-Reply-To: <CAGua6m2xcNknBMKJUL6ivM5E5sgVJJo-89tDDRe10fGKEbLAsQ@mail.gmail.com> (Stefan Israelsson Tampe's message of "Thu, 19 Jan 2012 10:50:47 +0100")
Hi Stefan,
On Thu 19 Jan 2012 10:50, Stefan Israelsson Tampe <stefan.itampe@gmail.com> writes:
> Working on porting syntax-parse is a learning experience and I know
> understand how it uses syntax-local-value as a way to lookup a syntax
> object by joining the wraps together with the total wrap at the macro
> call.
syntax-local-binding just uses the wrap from the id that you give it,
without joining it to the macro expansion environment's wrap.
> I would like to have a syntax-join function that takes two syntax
> objects and join them correctly and robustly in the pressense of
> eventual marks or not.
Why would you want to do something like this?
You might try writing the documentation of the function first; it would
clarify the conversation.
Regards,
Andy
--
http://wingolog.org/
next prev parent reply other threads:[~2012-01-23 10:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-05 18:12 syntax-local-value patch for discussion Stefan Israelsson Tampe
2011-12-08 21:58 ` Ian Price
2011-12-09 11:49 ` Stefan Israelsson Tampe
2012-01-07 0:05 ` Andy Wingo
2012-01-08 17:47 ` Stefan Israelsson Tampe
2012-01-08 19:15 ` Mark H Weaver
2012-01-08 21:28 ` Stefan Israelsson Tampe
2012-01-14 16:42 ` Stefan Israelsson Tampe
2012-01-19 9:50 ` Stefan Israelsson Tampe
2012-01-23 10:53 ` Andy Wingo [this message]
2012-01-23 16:06 ` Stefan Israelsson Tampe
2012-01-26 11:31 ` Andy Wingo
2012-01-26 15:49 ` Stefan Israelsson Tampe
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=87pqeapu4o.fsf@pobox.com \
--to=wingo@pobox.com \
--cc=guile-devel@gnu.org \
--cc=stefan.itampe@gmail.com \
/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).