[antlr-interest] generate lexer parser pair at runtime

Rick Murphy rick at rickmurphy.org
Fri Oct 15 10:33:35 PDT 2010


Thanks to all in advance for your help.

Is there a sample available that demonstrates how to generate a lexer
parser pair at runtime. I've searched a bit.Can't seem to find one.

The naive approach would be something like ...

org.antlr.Tool tool = new org.antlr.Tool("Grammar.g");

--
Rick



More information about the antlr-interest mailing list