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=1.1 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 028ACBC6B for ; Wed, 25 Jul 2007 18:14:33 +0200 (CEST) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.237]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l6PGEWW4030650 for ; Wed, 25 Jul 2007 18:14:32 +0200 Received: by nz-out-0506.google.com with SMTP id x7so184892nzc for ; Wed, 25 Jul 2007 09:14:31 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jAicdJCwN3mesQU8bjh7co/qQ98wgLkDixqbABV/j3QBdcxnMgxsMPI5yGSFTFktRTzaZakcX7c2OiSYw8xneMA9Toj1BtFdg5P9w/F2Z7ynacXbcX7wjrKycPMeRn7jcLGaGOvfUkafEcNCAxkJXlWiOhQQmroSHxj+0QHs12g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fSg2007d6O2hl+OCe4KY2pfX5dHaM427VoECl+5IGsIL3x4DV8YZleXamwIdima4v9Q5qBtRpJMTS3h5Tdt2YjjUD8vFS1+nrWWflj0ZZXA9JgO/+G7E3oTwEJ6qsv7AH9KWRYBsxoSQlz5XqlcSadrGaZOk+OydcG6IEtO1jn8= Received: by 10.114.156.1 with SMTP id d1mr789723wae.1185380068695; Wed, 25 Jul 2007 09:14:28 -0700 (PDT) Received: by 10.114.181.9 with HTTP; Wed, 25 Jul 2007 09:14:28 -0700 (PDT) Message-ID: Date: Wed, 25 Jul 2007 18:14:28 +0200 From: "Nicolas Pouillard" To: "Harrison, John R" Subject: Re: [Caml-list] Equivalent of Quotation.ExStr in new camlp4? Cc: caml-list@yquem.inria.fr In-Reply-To: <509223F0BF55E74FA1247D17207E7A0C01B11E32@orsmsx419.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <509223F0BF55E74FA1247D17207E7A0C01B11E32@orsmsx419.amr.corp.intel.com> X-j-chkmail-Score: MSGID : 46A776E8.000 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 46A776E8.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlp:01 parser:01 expander:01 camlp:01 parser:01 ocaml:01 expander:01 wrote:01 caml-list:01 ast:02 parse:02 supported:02 string:02 string:02 usual:06 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 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