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 discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id F19BABC0A for ; Tue, 27 Feb 2007 16:46:44 +0100 (CET) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l1RFkinK020864 for ; Tue, 27 Feb 2007 16:46:44 +0100 Received: by nf-out-0910.google.com with SMTP id m19so203941nfc for ; Tue, 27 Feb 2007 07:46:44 -0800 (PST) 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=AEoeKzz/3NmCRgVmEBLyf55Nt8kuiZcYxjxSIrApTrQIGthCt3cFwMc7F1VEV2kUOm5llWfwXOfguOeM5P5yHsZhK4g43MPM8XTq0EySDKRyinoC6UJaH0pBaeUJN1kRlNW07Wsr8spI8sfpr1xy9QLHZ5/Kk5T+M6un+Wqenbk= 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=C7W2TJe02bsfTMgIYL9BFuATOaQjwIfUxyasmQpFZBVw2ivK2y/Iw2OpEh4XKOcl3kSjHuPQ1TAuv5hLLX4H6dGgaWQwbsdkjRUX517k7RLUGgh7e/qlOC1kXOvcIbKwYwSgtWsFRMdPdF44u2yd2l2xr9k7lLAqKPgraixWgAU= Received: by 10.49.8.15 with SMTP id l15mr1378374nfi.1172591204232; Tue, 27 Feb 2007 07:46:44 -0800 (PST) Received: from ?192.168.1.33? ( [83.53.109.173]) by mx.google.com with ESMTP id c22sm976009ika.2007.02.27.07.46.41; Tue, 27 Feb 2007 07:46:43 -0800 (PST) In-Reply-To: <6dbd4d000702270742s39afbac6yfa46881c7069909c@mail.gmail.com> References: <7175FEA6-5CA0-4379-9BBC-CF43504CE733@gmail.com> <6dbd4d000702270742s39afbac6yfa46881c7069909c@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <367398BE-47D6-462F-974A-4EC7C5A86756@gmail.com> Cc: caml-list@inria.fr Content-Transfer-Encoding: 7bit From: Joel Reymont Subject: Re: [Caml-list] Testing lexers and parsers Date: Tue, 27 Feb 2007 15:46:38 +0000 To: "Denis Bueno" X-Mailer: Apple Mail (2.752.3) X-j-chkmail-Score: MSGID : 45E45264.000 on discorde : j-chkmail score : XXX : 5/20 1 0.000 -> 3 X-Miltered: at discorde with ID 45E45264.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; lexers:01 parsers:01 parsing:01 parsing:01 2007,:98 wrote:01 parsed:01 caml-list:01 reproduce:01 ast:02 problem:05 file:08 file:08 feb:09 thanks:17 On Feb 27, 2007, at 3:42 PM, Denis Bueno wrote: > I recently had to deal with this problem. I ended up testing the > parsing/printing by parsing a file, printing it out, and parsing the > print-out, Are you printing out the AST to make sure you can reproduce the original file you parsed? Thanks, Joel -- http://wagerlabs.com/