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 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id A14BFBC69 for ; Mon, 30 Apr 2007 15:09:54 +0200 (CEST) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.239]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l3UD9rFD001202 for ; Mon, 30 Apr 2007 15:09:54 +0200 Received: by wr-out-0506.google.com with SMTP id l58so1504398wrl for ; Mon, 30 Apr 2007 06:09:52 -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=PDQaCDDLtZsDM5vYbarc7clqy2URkd/UEp8wUCIOIlmx45WLoyX66Vr3BFEnqgtWHzO2a4kmz+tjAaoT15TwjO91FEmeh1O0yBOEtEonfA/z1AlfosLE7T+T/MbxzNGDrkReZKaEJjg9nWPM/FxHhPyg1GHzgqchHpMGqUfhr88= 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=PviwGJIOF7LC51GPLP/cI5gvY9eXyxJ0lXgYbncRTqeYDlYaffD7rrLUbRML6tyb2eE8hSrQqRTTM/TenbJhHcObJ0JIFwtqy2hbKKHc8Ev8koaBNgy6/AfgTaH2MWWHqyKiyZdWMNjRw9BM/KSgFwKdsCl6VHLQECSX7Y2l+G0= Received: by 10.114.72.1 with SMTP id u1mr2010638waa.1177938592141; Mon, 30 Apr 2007 06:09:52 -0700 (PDT) Received: by 10.114.181.18 with HTTP; Mon, 30 Apr 2007 06:09:52 -0700 (PDT) Message-ID: Date: Mon, 30 Apr 2007 15:09:52 +0200 From: "Nicolas Pouillard" To: "Joel Reymont" Subject: Re: [Caml-list] AST transformation and scrapping boilerplate code Cc: "Caml List" In-Reply-To: <98D023E9-E13C-477B-B397-8AD5758CA416@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <0DF43C61-05DE-4129-A5F6-06AF8722A8D5@gmail.com> <57FA2AAF-8F53-48B5-BF13-35BC9C825CE9@gmail.com> <98D023E9-E13C-477B-B397-8AD5758CA416@gmail.com> X-j-chkmail-Score: MSGID : 4635EAA1.001 on concorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at concorde with ID 4635EAA1.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlp:01 camlp:01 ocamlfind:01 ocamlc:01 -package:01 -pp:01 cmo:01 decl:01 2007,:98 unbound:01 wrote:01 wrote:01 constructor:01 caml-list:01 macros:01 On 4/30/07, Joel Reymont wrote: > > On Apr 30, 2007, at 1:58 PM, Nicolas Pouillard wrote: > > > Use camlp4of (since INCLUDE is provided by camlp4 macros). > > Also add -filter trash to the camlp4 options (after map and fold), in > > order to remove the Camlp4Trash module. > > Including the AST module worked and I'm almost there. > > + ocamlfind ocamlc -package ounit -c -I +camlp4 -pp 'camlp4of -filter > map -filter fold -filter trash ' -o easy_strip.cmo easy_strip.ml > File "ghost-location", line 1, characters 0-0: > Unbound type constructor var_decl Some open AST is missing I think. -- Nicolas Pouillard