Re: yacc pretty printer?

google@crisp.demon.co.uk (GoogleFox)
29 May 2003 03:25:15 -0400

          From comp.compilers

Related articles
yacc pretty printer? lorentz.buan@epmtech.jotne.com (lobu) (2003-05-12)
Re: yacc pretty printer? antkaij@mit.jyu.fi (Antti-Juhani Kaijanaho) (2003-05-16)
Re: yacc pretty printer? bettini@dsi.unifi.it (Lorenzo Bettini) (2003-05-18)
Re: yacc pretty printer? google@crisp.demon.co.uk (2003-05-29)
| List of all articles for this month |
From: google@crisp.demon.co.uk (GoogleFox)
Newsgroups: comp.compilers
Date: 29 May 2003 03:25:15 -0400
Organization: http://groups.google.com/
References: 03-05-062
Keywords: yacc, tools
Posted-Date: 29 May 2003 03:25:15 EDT

"lobu" <lorentz.buan@epmtech.jotne.com> wrote in message news:03-05-062...
> Does anyone know about a pretty print program applicable for yacc (.y)
> files ?
>
> -L
> [ Never seen one, although formatters intended for C usually do OK. -John]


You could give CRiSP (www.crisp.com) a try. This can pretty print
pretty much most languages, and contains special features to help
editing yacc files, i.e. a Contents window so you quickly see all yacc
rules in the file and jump to them.


Not only that, but it can tag (xref) the file so you can jump from one
rule to another (even if in another file) very quickly.


regards


Post a followup to this message

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