From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id EAA19737; Tue, 23 Oct 2001 04:16:13 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id EAA19773 for ; Tue, 23 Oct 2001 04:16:11 +0200 (MET DST) Received: from dido.engr.internet.org.ph ([203.176.75.250]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f9N2G9H02033 for ; Tue, 23 Oct 2001 04:16:10 +0200 (MET DST) Received: by dido.engr.internet.org.ph (Postfix, from userid 502) id A397B1742A; Tue, 23 Oct 2001 10:14:42 +0800 (PHT) Date: Tue, 23 Oct 2001 10:14:42 +0800 From: "Rafael 'Dido' Sevilla" To: Caml List Subject: [Caml-list] debugging an ocamlyacc parser Message-ID: <20011023101442.B17138@team.ph.inter.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Well, while my current ocamlyacc parser seems to be working pretty well, I'm just wondering if there's a debug mode available for ocamlyacc-generated parsers, like the debugging mode that Bison uses when you do a #define YYDEBUG, printing out all the states the parser goes through as it receives tokens from the lexer, so along with the generated y.output file I can see how it's working (or not working as the case may be). -- Rafael R. Sevilla +63(2) 8177746 ext. 8311 Programmer, Inter.Net Philippines +63(917) 4458925 http://dido.engr.internet.org.ph/ OpenPGP Key ID: 0x5CDA17D8 ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr