[antlr-interest] How to see the bare grammar?

David Piepgrass qwertie256 at gmail.com
Sat Oct 21 08:30:16 PDT 2006


Thanks. The HTML output is useful, although not at all compact.

(oops, I keep forgetting to reply to the list)

On 10/20/06, Ric Klaren <ric.klaren at gmail.com> wrote:
>
> Hi,
>
> On 10/20/06, David Piepgrass <qwertie256 at gmail.com> wrote:
> > I'm examining a large grammar (boo, if you must know) where the .g file
> is
> > 3400 lines. Is there a way to strip out the semantic action code,
> leaving
> > bare EBNF (preferably nicely formatted)?
> >
> > I actually got a graphical representation of the grammar from the boo
> > website, but a textual representation would be much more compact.
>
> If this is for antlr2 then you can use the -html or -docbook options
> to generate a HTML or docbook XML file.
>
-- 
- David
http://qism.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20061021/fc2411e3/attachment.html 


More information about the antlr-interest mailing list