[comp.sources.wanted] How do you debug lex/yacc output?

wex@milano.UUCP (07/13/87)

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."