Stevenson, Todd (GE Healthcare, consultant) wrote:
> I am looking for a utility to convert an Antlr grammar to a nice BNF
> document that I can use in my documentation.   Does one exist?  I poked
> around on the antlr site and the internet and couldn't see anything. I
> don't want to have to build one if I don't have to.

Well, strip out all the tree building, actions, etc, and you've got a
plain text version of the EBNF grammar... then you could just use a tool
to prettify it (convert it to whatever you like to do such things in -
LaTeX or whatever).

Of course, if you want pure BNF rather than EBNF, it's a bigger job...

Sam

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to