unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Stefan Israelsson Tampe <stefan.itampe@gmail.com>
To: Andy Wingo <wingo@pobox.com>
Cc: guile-devel <guile-devel@gnu.org>
Subject: Re: how to implement mutual recursive parsers in syntax-parse
Date: Mon, 21 May 2012 11:33:30 +0200	[thread overview]
Message-ID: <CAGua6m2hcNr7OY8uumPc3MmMMV73rSOSzxSbshEuCjy_GUOaUg@mail.gmail.com> (raw)
In-Reply-To: <87y5olzz7x.fsf@pobox.com>

[-- Attachment #1: Type: text/plain, Size: 525 bytes --]

Jolly nice, this is perfect!
Den 21 maj 2012 10:59 skrev "Andy Wingo" <wingo@pobox.com>:

> On Sat 19 May 2012 00:05, Stefan Israelsson Tampe <stefan.itampe@gmail.com>
> writes:
>
> >  (define (f x) (c))
> >  (define-syntax c (lambda (x) (pk 'c) #t))
>
> These expressions are expanded in order, not together.  To expand them
> together they need to be wrapped in a "begin".
>
> We can consider changing our toplevel expansion process to do something
> else, if there is a right thing.
>
> Andy
> --
> http://wingolog.org/
>

[-- Attachment #2: Type: text/html, Size: 921 bytes --]

      reply	other threads:[~2012-05-21  9:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-14 19:13 how to implement mutual recursive parsers in syntax-parse Stefan Israelsson Tampe
2012-05-15 18:38 ` Andy Wingo
2012-05-18 21:58   ` Stefan Israelsson Tampe
2012-05-21  8:25     ` Andy Wingo
2012-05-18 22:05   ` Stefan Israelsson Tampe
2012-05-21  8:59     ` Andy Wingo
2012-05-21  9:33       ` Stefan Israelsson Tampe [this message]

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=CAGua6m2hcNr7OY8uumPc3MmMMV73rSOSzxSbshEuCjy_GUOaUg@mail.gmail.com \
    --to=stefan.itampe@gmail.com \
    --cc=guile-devel@gnu.org \
    --cc=wingo@pobox.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).