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 PAA32265; Mon, 29 Sep 2003 15:27:26 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA23419 for ; Mon, 29 Sep 2003 15:27:25 +0200 (MET DST) Received: from brouilly.inria.fr (brouilly.inria.fr [128.93.8.4]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h8TDROH21284 for ; Mon, 29 Sep 2003 15:27:24 +0200 (MET DST) Received: by brouilly.inria.fr (Postfix, from userid 11404) id BF85E411E; Mon, 29 Sep 2003 15:27:24 +0200 (CEST) To: caml-list@inria.fr Subject: Re: [Caml-list] debugging ocamlyacc grammars Reply-To: James Leifer From: James Leifer References: <20030929045320.GD11211@imperium.ph> Date: Mon, 29 Sep 2003 15:27:24 +0200 In-Reply-To: (James Leifer's message of "Mon, 29 Sep 2003 15:22:59 +0200") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/20.7 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 debugging:01 rafael:01 'dido':01 dido:01 yydebug:01 yydebug:01 bison:01 debugging:01 foo:01 tokens:01 debug:01 writes:01 dump:01 invaluable:97 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk "Rafael 'Dido' Sevilla" writes: > I'm attempting to debug a grammar for ocamlyacc i'm in the process of > writing, and am wondering if there's a feature there similar to what > happens when you #define YYDEBUG 1 and set yydebug = 1 with Bison or > Yacc, giving a dump of the parser's state, stack, and read tokens, which > is invaluable for debugging. Do you mean the parser.output file produced when you use the -v option? ocamlyacc -v foo.mly -James ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners