Bison/Yacc grammar tool wanted

Steve Boswell <whatis@ucsd.edu>
3 Nov 91 23:06:32 GMT

          From comp.compilers

Related articles
Bison/Yacc grammar tool wanted whatis@ucsd.edu (Steve Boswell) (1991-11-03)
Re: Bison/Yacc grammar tool wanted masticol@dumas.rutgers.edu (1991-11-05)
| List of all articles for this month |

Newsgroups: comp.compilers
From: Steve Boswell <whatis@ucsd.edu>
Keywords: yacc, debug
Organization: University of California, San Diego
Date: 3 Nov 91 23:06:32 GMT

I'm looking for a tool that will:


[1] Print a list of rules and line numbers of all rules whose
        subrules have already been printed above. This would give
        me the order that I add semantic productions (i.e. I would know
        the semantic behavior of everything underneath.)


[2] List all rules used only once, etc. so I could simplify the
        grammar.


Does such a beast exist? Any help would be appreciated (including a
yacc grammar that I can use to write one.)


Steve Boswell
whatis@ucsd.edu
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.