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 80704BC0A for ; Tue, 27 Feb 2007 17:11:11 +0100 (CET) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l1RGBASa026880 for ; Tue, 27 Feb 2007 17:11:11 +0100 Received: by ug-out-1314.google.com with SMTP id k3so1073844ugf for ; Tue, 27 Feb 2007 08:11:10 -0800 (PST) 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=rt6lfqPqBl3fNnQ0cUN16lZ8GEacQHsmkN/wF12SEjZo9J77YR5TQGQBjI84j3kL6vwdmw2yLT9+i6fj00Kv0DaqVH3c1k+2x0ZSxMhqG+4zR58aYKWxwUT6IRZh8fa6qvRPYz2DaxCeLWjAXaejbG5iubk/NxVVgJpyxncfOPw= 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=p399FQl2QWD2gAE882Cs11jNcypbP/Kdq9SaN+7kS8HRF8p1C7zH189AklQLIrPDb1BRSJ+Ia0tUcgKaoQCekd8tSXRdZqRuSGlfYkhCa+aV7IBQro2rUeMKWyEPmon2ok4HUqXrYW8jYmT72Iu9yu0uPypaUDoP/6ckIvHwR1s= Received: by 10.114.181.1 with SMTP id d1mr348231waf.1172592669809; Tue, 27 Feb 2007 08:11:09 -0800 (PST) Received: by 10.114.194.3 with HTTP; Tue, 27 Feb 2007 08:11:09 -0800 (PST) Message-ID: <6dbd4d000702270811h55247a3bi808053a24ee8238d@mail.gmail.com> Date: Tue, 27 Feb 2007 11:11:09 -0500 From: "Denis Bueno" To: "Joel Reymont" Subject: Re: [Caml-list] Testing lexers and parsers Cc: "OCaml Mailing List" In-Reply-To: <6dbd4d000702270810h16ea3308k49dfcf7e5a479ecb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7175FEA6-5CA0-4379-9BBC-CF43504CE733@gmail.com> <6dbd4d000702270742s39afbac6yfa46881c7069909c@mail.gmail.com> <367398BE-47D6-462F-974A-4EC7C5A86756@gmail.com> <6dbd4d000702270810h16ea3308k49dfcf7e5a479ecb@mail.gmail.com> X-j-chkmail-Score: MSGID : 45E4581E.001 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 45E4581E.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; lexers:01 parsers:01 wrote:01 wrote:01 parsed:01 caml-list:01 functions:01 reproduce:01 fragments:01 ast:02 ast:02 meant:06 correct:08 file:08 source:12 [Meant to send to the list the first time. Sorry for the dupe.] On 2/27/07, Denis Bueno wrote: > On 2/27/07, Joel Reymont wrote: > > Are you printing out the AST to make sure you can reproduce the > > original file you parsed? Yes. I wanted to make sure my AST-printing functions would print correct source code in the source language. This makes it very easy to inspect AST fragments. -Denis