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 KAA32271; Mon, 29 Sep 2003 10:06:58 +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 KAA20036 for ; Mon, 29 Sep 2003 10:06:57 +0200 (MET DST) Received: from intmail.imperium.ph ([202.175.240.154]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h8T86s511607 for ; Mon, 29 Sep 2003 10:06:55 +0200 (MET DST) Received: from morgoth.imperium.ph (unknown [192.168.1.35]) by intmail.imperium.ph (Postfix) with SMTP id BA88646AB8 for ; Mon, 29 Sep 2003 16:06:52 +0800 (PHT) Received: by morgoth.imperium.ph (sSMTP sendmail emulation); Mon, 29 Sep 2003 16:09:24 +0800 Date: Mon, 29 Sep 2003 12:53:20 +0800 From: "Rafael 'Dido' Sevilla" To: ocaml-list@inria.fr Subject: [Caml-list] debugging ocamlyacc grammars Message-ID: <20030929045320.GD11211@imperium.ph> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: Linux morgoth 2.4.20-gentoo-r5 User-Agent: Mutt/1.5.4i X-Loop: caml-list@inria.fr X-Spam: no; 0.00; rafael:01 'dido':01 dido:01 debugging:01 yydebug:01 yydebug:01 bison:01 debugging:01 tokens:01 debug:01 dump:01 invaluable:97 stack:02 sevilla:03 wondering:04 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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. ------------------- 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