[antlr-interest] how to generate parser code from .g file?

John B. Brodie jbb at acm.org
Thu Sep 11 18:53:16 PDT 2008


On Thursday 11 September 2008 09:32:11 pm Yixun Liu wrote:
> I want to generate parser code from .g file. How to do it?

at your favorite shell (batch) prompt enter:

java org.antlr.Tool your_grammar_filename_goes_here.g

Hope this helps
--
   -jbb



More information about the antlr-interest mailing list