caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Nicolas Pouillard" <nicolas.pouillard@gmail.com>
To: "Harrison, John R" <john.r.harrison@intel.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Equivalent of Quotation.ExStr in new camlp4?
Date: Wed, 25 Jul 2007 18:14:28 +0200	[thread overview]
Message-ID: <cd67f63a0707250914s7593a917gc7a9ed63119a07f6@mail.gmail.com> (raw)
In-Reply-To: <509223F0BF55E74FA1247D17207E7A0C01B11E32@orsmsx419.amr.corp.intel.com>

Hello,

No ExStr is no more supported. But you can do it your self by calling
the parser on your string if you really don't want switch to an AST
based quotation expander.

Regards,

On 7/24/07, Harrison, John R <john.r.harrison@intel.com> wrote:
>
>
>
>
> In the old camlp4 one could set up a quotation parser to just apply a string
>
> transformation and thereafter parse with the usual OCaml parser, e.g.
>
>
>
>   Quotation.add name (Quotation.ExStr expander)
>
>
>
> What is the equivalent in the new camlp4?
>
>
>
> John.
>
-- 
Nicolas Pouillard


  parent reply	other threads:[~2007-07-25 16:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-24 21:23 Harrison, John R
2007-07-25 11:40 ` [Caml-list] " Gabriel Kerneis
2007-07-25 16:14   ` Harrison, John R
2007-07-25 16:14 ` Nicolas Pouillard [this message]
2007-07-25 16:23   ` Harrison, John R
2007-07-26  8:44     ` Nicolas Pouillard
2007-07-26 16:49       ` Harrison, John R
2007-08-09 18:31         ` Nicolas Pouillard
2007-08-22 16:21           ` Harrison, John R

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=cd67f63a0707250914s7593a917gc7a9ed63119a07f6@mail.gmail.com \
    --to=nicolas.pouillard@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=john.r.harrison@intel.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 NNTP newsgroup(s).