[antlr-interest] Parsing numeric and alphanumeric
Vishal Soni
vishalrsoni at gmail.com
Wed Oct 10 21:32:40 PDT 2007
Hi,
I need to parse numeric and alphanumeric tokens in ANTLR. The tokens can be
Numbers or Alphanumeric that start with numbers
For e.g.
1111 ===> is a number
1AABC_ ===> is a Alphanumeric token
A_112===>is alphanumeric
_11111 => is alphanumeric
How would I define a grammar for something like this?
--
Thanks,
Vishal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20071010/38a1a318/attachment.html
More information about the antlr-interest
mailing list