Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!ut-sally!ghostwheel!milano!wex From: wex@milano.UUCP Newsgroups: comp.sources.d,comp.sources.wanted Subject: How do you debug lex/yacc output? Message-ID: <4897@milano.UUCP> Date: Mon, 13-Jul-87 15:16:25 EDT Article-I.D.: milano.4897 Posted: Mon Jul 13 15:16:25 1987 Date-Received: Tue, 14-Jul-87 06:39:38 EDT Sender: wex@milano.UUCP Organization: MCC, Austin, TX Lines: 25 Xref: mnetor comp.sources.d:968 comp.sources.wanted:1606 Pardon the cross-posting, this is partly a request and partly discussion. I am writing a translator for changing files of type1 into files of type2. This involves some heavy semantic work, not simple lexical or syntactic resuffling. I am writing in lex and yacc. The yacc file has 181 terminals, 191 nonterminals 399 grammar rules and 803 states, plus several hundred lines of C code to perform the semantic action. Naturally, anything this big is bound to have bugs. But dbx can't help me - it can't operate on the output of yacc (or at least I can't figure out how to get it to). So what I need is either advice or another debugger. (If you're giving advice or other discussion, please edit the newsgroups: line. Email also welcome.) -- Alan Wexelblat ARPA: WEX@MCC.COM UUCP: {seismo, harvard, gatech, pyramid, &c.}!sally!im4u!milano!wex "Oh well, a touch of grey, Kinda suits you anyway."