From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL,HTML_MESSAGE autolearn=disabled version=3.1.3 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id D0B3ABC6B for ; Tue, 24 Jul 2007 23:23:39 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l6OLNbGK015194 for ; Tue, 24 Jul 2007 23:23:38 +0200 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 24 Jul 2007 14:23:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.16,575,1175497200"; d="scan'208,217";a="254263432" Received: from orsmsx335.jf.intel.com ([10.22.226.40]) by azsmga001.ch.intel.com with ESMTP; 24 Jul 2007 14:23:34 -0700 Received: from orsmsx419.amr.corp.intel.com ([10.22.226.88]) by orsmsx335.jf.intel.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 24 Jul 2007 14:23:34 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7CE38.E425F15F" Subject: Equivalent of Quotation.ExStr in new camlp4? Date: Tue, 24 Jul 2007 14:23:34 -0700 Message-ID: <509223F0BF55E74FA1247D17207E7A0C01B11E32@orsmsx419.amr.corp.intel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Equivalent of Quotation.ExStr in new camlp4? Thread-Index: AcfOOOP4bYPhd2PRRHC7HLePcz+LVQ== From: "Harrison, John R" To: Cc: "Harrison, John R" X-OriginalArrivalTime: 24 Jul 2007 21:23:34.0393 (UTC) FILETIME=[E41CC690:01C7CE38] X-j-chkmail-Score: MSGID : 46A66DD9.002 on concorde : j-chkmail score : XXX : 5/20 1 0.000 -> 3 X-Miltered: at concorde with ID 46A66DD9.002 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlp:01 camlp:01 parser:01 ocaml:01 parser:01 expander:01 ocaml:01 expander:01 parse:02 parse:02 string:02 string:02 arial:96 arial:96 multi-part:94 This is a multi-part message in MIME format. ------_=_NextPart_001_01C7CE38.E425F15F Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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. =20 Quotation.add name (Quotation.ExStr expander) =20 What is the equivalent in the new camlp4? =20 John. =20 ------_=_NextPart_001_01C7CE38.E425F15F Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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.

 

------_=_NextPart_001_01C7CE38.E425F15F--