[antlr-interest] How to get difference set between two sets?
yhhf_dy
yhhf_dy at yahoo.com
Fri Apr 12 09:17:18 PDT 2002
Hi,
There are two set described as following rules :
IDENTIFIER:('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*
keyword : "class" | "public" | "private" | etc.
I want to get difference between IDENTIFIER set and keyword set, that
is difference set = IDENTIFIER set - keyword set
Would you please help me how to implement this in ANTLR.
Thank you ahead.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list