From: Michael Matz <matz@suse.de>
To: Richard Biener <rguenther@suse.de>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] Add 'switch' statement to match.pd language
Date: Wed, 15 Jul 2015 14:28:00 -0000 [thread overview]
Message-ID: <alpine.LSU.2.20.1507151618130.23227@wotan.suse.de> (raw)
In-Reply-To: <alpine.LSU.2.11.1507141457160.9923@zhemvz.fhfr.qr>
Hi,
On Tue, 14 Jul 2015, Richard Biener wrote:
> I know Micha detests the extra 'if' as much as the extra braces thus
> would have prefered
>
> (switch
> (A) B
> (B) C
> (C) D
> E)
The lispy way would have been
(switch
(A) (B)
(C) (D)
(E) (F)
G)
i.e. parenthesize the result as well, which then would be unambiguously
parsable. But hey, it's your language ;)
Ciao,
Michael.
next prev parent reply other threads:[~2015-07-15 14:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-14 13:02 Richard Biener
2015-07-15 14:28 ` Michael Matz [this message]
2015-07-15 15:04 ` Richard Biener
2015-07-15 15:21 ` Michael Matz
2015-07-15 18:49 ` Richard Sandiford
2015-07-16 7:29 ` Richard Biener
2015-07-16 7:09 ` Richard Biener
2015-07-16 15:00 ` Michael Matz
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LSU.2.20.1507151618130.23227@wotan.suse.de \
--to=matz@suse.de \
--cc=gcc-patches@gcc.gnu.org \
--cc=rguenther@suse.de \
/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).