[antlr-interest] Grammar, ANTLRWorks and ANTLR problems
Johannes Luber
jaluber at gmx.de
Fri Mar 30 08:03:55 PDT 2007
Terence Parr wrote:
>
> On Mar 29, 2007, at 2:37 PM, Johannes Luber wrote:
>
>> The strange part is that I can't see, where $text comes from.
>
> $text is the text for the rule. actually it's the text of the first
> tree matched.
Thanks - I didn't remember that one can reference the current rule, too.
> add antlr-2.7.7.jar to your classpath. should be in antlr/lib dir.
Thanks to you and Miguel Ping (who sent me one email off the list).
Seems that I missed to include that jar into the CLASSPATH environment
variable, when I was adapting my computer for ANTLR. And for what ever
reason ANTLRworks didn't complain. Alas ATNLRworks still doesn't work
with the current config - strange.
Best regards,
Johannes Luber
More information about the antlr-interest
mailing list