Re: yacc pretty printer?

Antti-Juhani Kaijanaho <>
16 May 2003 21:09:56 -0400

          From comp.compilers

Related articles
yacc pretty printer? (lobu) (2003-05-12)
Re: yacc pretty printer? (Antti-Juhani Kaijanaho) (2003-05-16)
Re: yacc pretty printer? (Lorenzo Bettini) (2003-05-18)
Re: yacc pretty printer? (2003-05-29)
| List of all articles for this month |

From: Antti-Juhani Kaijanaho <>
Newsgroups: comp.compilers
Date: 16 May 2003 21:09:56 -0400
Organization: University of Jyvaskyla, Finland
References: 03-05-062
Keywords: yacc, tools
Posted-Date: 16 May 2003 21:09:56 EDT

lobu wrote:
> Does anyone know about a pretty print program applicable for yacc (.y)
> files ?

I am not sure what exactly you are after, but Sandro Sigala's cutils
package <>utils > contains
yyextract which is able to format the grammar rules in several formats
(plain text or HTML, Yacc or BNF or EBNF). It ignores semantic actions,
which may or may not be what you want.

Antti-Juhani Kaijanaho, FM (MSc),
ohjelmistotekniikan assistentti * assistant in software engineering
Jyväskylän yliopisto * University of Jyväskylä
Tietotekniikan laitos * Dept. of Mathematical Inf. Tech.

Post a followup to this message

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