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.0 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 concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 3EB48BC69 for ; Mon, 30 Apr 2007 14:19:06 +0200 (CEST) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l3UCJ5le019686 for ; Mon, 30 Apr 2007 14:19:06 +0200 Received: by ug-out-1314.google.com with SMTP id k3so1025939ugf for ; Mon, 30 Apr 2007 05:19:05 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=MqIIOUmZD4K5lOgvC2K8VRi1l2fog86yL8PGQ4g9BqjvRfzsfSD3vUqZlz/J2cpvJ70e7Bzi77w1Q+0H1gfBHKTSDUGaOSMrFUqaAiL09AN8Sj/R8U374KPcBxBb/vy4AksC21fj1TgToidWkZ0a4jWLNFEtQHTXRYGTeAVR7Gs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=t/iQb7MuhN/yqm20fUeHbANqZ5RfMTJR2hNef+YssG9/bYQ/oUvVu/KXg4c1CLpyHtHpa2cIY6XPSI+LIrE2RlUwh0EUX0up2mWjjkz+lLZHa5JzHxG0nx0nd8QlpVEHjthzbzy3NM9ZNCyDVDb/IVwxX8PrxTv/v41cpbNX5mc= Received: by 10.67.30.6 with SMTP id h6mr5369011ugj.1177935545669; Mon, 30 Apr 2007 05:19:05 -0700 (PDT) Received: from ?192.168.1.34? ( [83.52.237.136]) by mx.google.com with ESMTP id x37sm8423083ugc.2007.04.30.05.19.03; Mon, 30 Apr 2007 05:19:04 -0700 (PDT) In-Reply-To: References: <0DF43C61-05DE-4129-A5F6-06AF8722A8D5@gmail.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: "Caml List" Content-Transfer-Encoding: 7bit From: Joel Reymont Subject: Re: [Caml-list] AST transformation and scrapping boilerplate code Date: Mon, 30 Apr 2007 13:19:00 +0100 To: Nicolas Pouillard X-Mailer: Apple Mail (2.752.3) X-j-chkmail-Score: MSGID : 4635DEB9.000 on concorde : j-chkmail score : XXX : 5/20 1 0.000 -> 3 X-Miltered: at concorde with ID 4635DEB9.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; byte:01 ocamlfind:01 ocamlc:01 -package:01 camlp:01 -pp:01 cmo:01 expr:01 exited:01 remover:98 token:01 compile:01 caml-list:01 expression:02 ast:02 I get this error when try to compile my version of the token remover. The only difference is that my version has "open AST" at the top whereas in the example everything is in one file. What am I missing? Thanks, Joel --- ./build.sh test.byte + ocamlfind ocamlc -package ounit -c -I +camlp4 -pp 'camlp4o -filter map -filter fold' -o easy_strip.cmo easy_strip.ml File "easy_strip.ml", line 8, characters 10-15: This expression has no method expr Command exited with code 2. -- http://wagerlabs.com/