[antlr-interest] command line option.

J.R Karthikeyan jrk1987 at yahoo.co.in
Mon Sep 13 17:03:03 PDT 2010



Hi,

   I know that in grammar file we can specify as

   options
{
language = C;
}  
 
to generate the lexer and parser in C. Wondering is it possible to specify this 
option in command line.

for eg. 
java org.antlr.Tool -C sample.g so that it will generate lexer and parser in c. 
Is this feasible?

Thanks,
Karthikeyan




More information about the antlr-interest mailing list