Home | Download | ANTLRWorks | Wiki | About ANTLR | Feedback | Support | Bugs | v2


Latest version is 3.0.1
Download now! »

Download
» Home
» Download
» ANTLRWorks
» News
»Using ANTLR
» Documentation
» FAQ
» Articles
» Grammars
» File Sharing
» Runtime API
» Tech Support
» Bug Tracking
»About ANTLR
» What is ANTLR
» Why use ANTLR
» Showcase
» Testimonials
» Getting Started
» Software License
» ANTLR WebLogs
» ANTLR Workshops
»StringTemplate
»ANTLR v2
»Feedback
»Credits
»Contact


Support StringTemplate, ANTLR Project by making a donation! Terence often pays for things like the antlr.org server, conference travel, and this site design (that alone cost US$1000). Buy him a beer and pizza remotely ;)

Search



Generate syntax diagrams without GUI

Generate syntax diagrams without GUI

Starting with version 1.1.4, it is possible to generate all the syntax diagram of a particular grammar without having to use ANTLRWorks GUI (which make it possible to include into an automated process). To do that, use the Console of ANTLRWorks.

Usage

$ java -cp antlrworks-1.1.4.jar org.antlr.works.Console

To export all the rules of test.g into eps

$ java -cp antlrworks-1.1.4.jar org.antlr.works.Console -f test.g -o output/ -sd eps -verbose