|yacc pretty printer? firstname.lastname@example.org (lobu) (2003-05-12)|
|Re: yacc pretty printer? email@example.com (Antti-Juhani Kaijanaho) (2003-05-16)|
|Re: yacc pretty printer? firstname.lastname@example.org (Lorenzo Bettini) (2003-05-18)|
|Re: yacc pretty printer? email@example.com (2003-05-29)|
|Date:||29 May 2003 03:25:15 -0400|
|Posted-Date:||29 May 2003 03:25:15 EDT|
"lobu" <firstname.lastname@example.org> wrote in message news:03-05-062...
> Does anyone know about a pretty print program applicable for yacc (.y)
> files ?
> [ 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.
Return to the
Search the comp.compilers archives again.