OK...The following is ANTLR Code
grammar T;
r : 'call' ID ';' {System.out.println("invoke "+$ID.text);};
ID : 'a'..'z'+;
WS : (' ' | '\n' | '\r')+ {$channel=HIDDEN;};
Lets say, in addition, I wanted to add some code that also give me a
numerical password, how would I do it? In other words, after entering text
for a name to be compiled, what code could I use to let me enter a number in
ANTLRWorks?
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---