Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

nned help on printing strings matched by an ANTLR parser rule

1 view
Skip to first unread message

mabel

unread,
Mar 17, 2008, 2:36:15 AM3/17/08
to
Hi Friends

I need some help on how to print the input string in an input file
matched by a parser rule in ANTLR

The parser rule can contain many subrules and tokens

The rules can be of the form (~SEMI *) LFPAREN header; etc

I want to extract the string in the input file which matches a
particular rule like above.

Any help is greatly appreciated

Thanks in advance
Mabel

0 new messages