caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Harrison, John R" <john.r.harrison@intel.com>
To: "Gabriel Kerneis" <gabriel.kerneis@enst.fr>, <caml-list@yquem.inria.fr>
Cc: "Harrison, John R" <john.r.harrison@intel.com>
Subject: RE: [Caml-list] Equivalent of Quotation.ExStr in new camlp4?
Date: Wed, 25 Jul 2007 09:14:32 -0700	[thread overview]
Message-ID: <509223F0BF55E74FA1247D17207E7A0C01B120B8@orsmsx419.amr.corp.intel.com> (raw)
In-Reply-To: <E1IDfEK-0001Km-5d@kerneis.info>

| In Ocsigen,
| Quotation.add "xml" (Quotation.ExAst (xml_exp, xml_pat))
| became
| open Camlp4.PreCast ;
| Syntax.Quotation.add "xml" Syntax.Quotation.DynAst.expr_tag
| Parser.xml_exp
| 
| Maybe this can give you a clue ?

Maybe, but I was looking for the equivalent of Quotation.ExStr
rather than Quotation.ExAst, i.e. apply a string transform then
the usual OCaml parser rather than my own parser producing an
AST.

John.


  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 [this message]
2007-07-25 16:14 ` Nicolas Pouillard
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=509223F0BF55E74FA1247D17207E7A0C01B120B8@orsmsx419.amr.corp.intel.com \
    --to=john.r.harrison@intel.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=gabriel.kerneis@enst.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;
as well as URLs for NNTP newsgroup(s).