Pretty printer for yacc

charlie@halcyon.com (Charles Castellow)
29 Jan 1996 23:52:43 -0500

          From comp.compilers

Related articles
Pretty printer for yacc charlie@halcyon.com (1996-01-29)
Re: Pretty printer for yacc the_tick@access.digex.com (Scott Stanchfield) (1996-02-04)
Re: Pretty printer for yacc gilmont@sci3 (Tanguy Gilmont) (1996-02-09)
| List of all articles for this month |
From: charlie@halcyon.com (Charles Castellow)
Newsgroups: comp.compilers
Date: 29 Jan 1996 23:52:43 -0500
Organization: Northwest Nexus Inc.
Keywords: yacc, question

Does anyone have/know of a pretty printer for yacc? I've inherited a
project that's been around forever. There are lots of embedded
actions, and the formatting is a joke. It's very hard to quickly
determine if you're looking at grammar rules or associated action
routines.


Clearly this is sort of a superset of C/C++, so if worse comes to
worse, I'll start with a pretty printer for C/C++, but I was just
wondering if there's anything out there that would format the yacc
productions and the C/C++ actions at the same time.


Thanks.
--


Post a followup to this message

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