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=0.0 required=5.0 tests=AWL 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 42B7CBC69 for ; Tue, 1 May 2007 19:34:19 +0200 (CEST) Received: from yquem.inria.fr (yquem.inria.fr [128.93.8.37]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l41HYAXU025276; Tue, 1 May 2007 19:34:10 +0200 Received: by yquem.inria.fr (Postfix, from userid 18965) id D28B9BC69; Tue, 1 May 2007 19:34:09 +0200 (CEST) Date: Tue, 1 May 2007 19:34:09 +0200 From: Francois Pottier To: skaller Cc: caml-list@inria.fr Subject: Re: [Caml-list] menhir Message-ID: <20070501173409.GB7308@yquem.inria.fr> Reply-To: Francois.Pottier@inria.fr References: <1177756336.11923.18.camel@rosella.wigram> <20070428165058.GA31584@yquem.inria.fr> <1177821783.25394.37.camel@rosella.wigram> <20070501155705.GA29617@yquem.inria.fr> <1178039464.8967.10.camel@rosella.wigram> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1178039464.8967.10.camel@rosella.wigram> User-Agent: Mutt/1.5.9i X-Miltered: at concorde with ID 46377A12.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; lexer:01 token:01 cristal:01 caml-list:01 pottier:01 pottier:01 francois:02 francois:02 fpottier:02 stream:04 inria:06 inria:06 basically:09 shouldn't:10 doesn't:12 > So basically, menhir is saying "what happens if you hit > end of stream here? What should be done?" and the answer > is "it can't happen". What I am trying to say is, Menhir doesn't ask this question. It asks: "what happens if I reach that state? should I request a lookahead token from the lexer, or shouldn't I?" -- François Pottier Francois.Pottier@inria.fr http://cristal.inria.fr/~fpottier/