From: Christian Stork <cstork@ics.uci.edu>
To: caml-list@inria.fr
Subject: Re: [Caml-list] New Camlp4 behavior (problem with rules starting with OPT)
Date: Sat, 14 Apr 2007 07:16:14 +0200 [thread overview]
Message-ID: <20070414051613.GB31862@stirner.roentgeninstitut.de> (raw)
In-Reply-To: <cd67f63a0704130649w39be151fq7b0c9bb03af22d37@mail.gmail.com>
On Fri, Apr 13, 2007 at 03:49:32PM +0200, Nicolas Pouillard wrote:
> On 4/13/07, Martin Jambon <martin.jambon@ens-lyon.org> wrote:
> >With camlp4 3.10.0+beta, the following syntax extension does not work,
> >but it used to work in the "old" camlp4.
>
> IMHO having rules starting with OPT don't fit very well with the
> camlp4 parsing mechanism.
>
> It works in the 3.09 version but I don't know why.
>
> I think that you shouldn't rely on that anymore.
Hmm, then the same applies to rules starting with LIST0, too? I think
this has at least to be documented.
Why not "simply" expand such rules into to obvious pair of rules? After
all, OPT is just a shorthand for the programmer anyway. Or are you
anticipating problems specifying such rules for DELETE?
--
Chris Stork <> Support eff.org! <> http://www.ics.uci.edu/~cstork/
OpenPGP fingerprint: B08B 602C C806 C492 D069 021E 41F3 8C8D 50F9 CA2F
next prev parent reply other threads:[~2007-04-14 5:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-13 8:27 Martin Jambon
2007-04-13 13:49 ` [Caml-list] " Nicolas Pouillard
2007-04-13 21:43 ` Martin Jambon
2007-04-14 5:16 ` Christian Stork [this message]
2007-04-14 5:20 ` Christian Stork
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=20070414051613.GB31862@stirner.roentgeninstitut.de \
--to=cstork@ics.uci.edu \
--cc=caml-list@inria.fr \
/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