From: "Loup Vaillant" <loup.vaillant@gmail.com>
To: "Matthieu Wipliez" <mwipliez@yahoo.fr>
Cc: "Caml List" <caml-list@inria.fr>
Subject: Re: Re : [Caml-list] Porting camlp4 stuff from 3.09 to 3.10: need help
Date: Wed, 9 Apr 2008 15:31:26 +0200 [thread overview]
Message-ID: <6f9f8f4a0804090631s7a0dabf1w19cdb7cbc88ce0fb@mail.gmail.com> (raw)
In-Reply-To: <243732.71350.qm@web27014.mail.ukl.yahoo.com>
2008/4/9, Matthieu Wipliez <mwipliez@yahoo.fr>:
>
> > AFAIK the list of predefined quotations is the same as for 3.09, but
> > maybe this page will help:
> >
> http://brion.inria.fr/gallium/index.php/Abstract_Syntax_Tree
>
> This seems unlikely:
> http://camltest.inria.fr/pub/old_caml_site/camlp4/manual/manual010.html#toc39
> http://brion.inria.fr/gallium/index.php/Abstract_Syntax_Tree
But it helped me, anyway: I saw there is an "empty" case in the
str_item declaration. For my use case, it does the job. (They are
still errors left, but I saw where they are documented --about the
EXTEND statement changes).
> the following quotation was available in camlp4 3.09, but not in the 3.10
> version:
> <:str_item< declare $list:stl$ end >>: declare.
> [...]
> I'd suggest you either use a module as I did above to emulate the "declare"
> behavior, or that you declare everything at the top level (have a look at
> str_items in the Camlp4OCamlRevisedParser if you need inspiration).
I'll do that if I need to.
> Hope this helps,
It did. Thanks.
Loup
next prev parent reply other threads:[~2008-04-09 13:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-09 13:07 Matthieu Wipliez
2008-04-09 13:31 ` Loup Vaillant [this message]
2008-04-09 14:07 ` Nicolas Pouillard
2008-04-09 15:29 ` Loup Vaillant
2008-04-09 15:36 ` Nicolas Pouillard
2008-04-09 15:46 ` Loup Vaillant
2008-04-09 16:02 ` Nicolas Pouillard
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=6f9f8f4a0804090631s7a0dabf1w19cdb7cbc88ce0fb@mail.gmail.com \
--to=loup.vaillant@gmail.com \
--cc=caml-list@inria.fr \
--cc=mwipliez@yahoo.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