[antlr-interest] ANTLR (C++) pretty printer?

Terence Parr parrt at cs.usfca.edu
Wed May 31 12:17:44 PDT 2006


On May 31, 2006, at 12:12 PM, Bryan Ewbank wrote:

> Does anyone know of an ANTLR pretty printer? That is, a program which
> reads ANTLR *.g files and produces another *.g in a standard form?  If
> it makes a difference, I've got C++ actions.
>
> I'm hoping to head off a vi-emacs style war by saying "here's a  
> tool...".

I don't have one and I don't even have one that will print the  
grammar w/o actions!  For v3, I can dump back out but not pretty  
printed (yet).

Ter



More information about the antlr-interest mailing list