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 discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id A7D44BC0A for ; Tue, 22 May 2007 10:18:54 +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 l4M8Irhu006720 for ; Tue, 22 May 2007 10:18:54 +0200 Received: by nz-out-0506.google.com with SMTP id s1so2523036nze for ; Tue, 22 May 2007 01:18:53 -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=slIaw+sILk8o/8MvmHTzo7YRAZfWyOXA2YJ2AfU5++Zlwk2L3zJvY+pOcThGtD2Ca9Ns/YXtbWN7mUxyM8fvPncLPB/DSnbyNyVDybFD1NmRqgLQQpnUl6hu0F2cU6SCkVFOiky9DhjRaK4oNqbz+5dl1S5jZdr6TeqERybJ15A= 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=oWp8seYYk0tgpaaTwqbuU7On/CvPUMQNxOsQnR4SBXM4KCBi3vJY8q+7J5j3JVfnW0xtgz6+hdBTUYzx7Z/2n5SRuE3ySqJuetZQiduvxLy9+xNEawlz4INVzqThTEV50lVH1GDX0qvMryYNxNuTypTzxGhOvIrXTYYlnV9dunw= Received: by 10.114.76.1 with SMTP id y1mr3153965waa.1179821932878; Tue, 22 May 2007 01:18:52 -0700 (PDT) Received: by 10.114.183.4 with HTTP; Tue, 22 May 2007 01:18:52 -0700 (PDT) Message-ID: Date: Tue, 22 May 2007 10:18:52 +0200 From: "Nicolas Pouillard" To: "Christophe Raffalli" Subject: Re: [Caml-list] A few comment on the new camlp4 ... Cc: caml-list@yquem.inria.fr In-Reply-To: <46528D72.4080607@univ-savoie.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46528D72.4080607@univ-savoie.fr> X-j-chkmail-Score: MSGID : 4652A76D.000 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 4652A76D.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlp:01 christophe:01 raffalli:01 christophe:01 raffalli:01 univ-savoie:01 camlp:01 compilation:01 expr:01 expr:01 wrote:01 minor:01 parsed:01 caml-list:01 match:02 On 5/22/07, Christophe Raffalli wrote: > > Dear list members, > > I am finalising the port of bindlib to camlp4 3.10 and I have some minor > comments: > > - Thanks for the new possible keywords ... however, "^))" is considered > as one keyword ... and "))" is not ... may be this could be improved ? Of course not )) is not a "safe" new keyword since it's already parsed as ")", ")". > - I had some trouble that I solved with the change of type for > $list:...$, the compilation lines to produce executable like camlp4orf > with my own extension add and a few others I can not remember. Seems normal, since many changes on that subject. > - I had to extend the match_case0 rule instead of expr LEVEL "expr1" > because this level disapeared. (I had a rule with "match expr with bind > f in e -> expr" > which I can not make work now, but anyway, extending match_case0 here is > better. "expr1" has been renamed "top" but in your case it's safe to extend match_case0 with things that starts by "with" Thanks, for your comments. -- Nicolas Pouillard