[antlr-interest] Version Problem

Mohammed Ibrahim snouto at gmail.com
Thu Sep 6 05:56:01 PDT 2007


hello folks ,

i have a problem in here , i would like to parse this string
=======================================
antlr / 2.0    <----- this string
=======================================
i wrote for it this EBNF


VERSION : LETTER DECIMAL;

DECIMAL : INT ('.' INT)+;

LETTERS: 'a'..'z'+;

INT:  '0'..'9'+;

WS : ( '  ' |'\r'|'\n'|'/') +  { skip(); };
==========================================

It doesn't want to recognize it i don't want why ?????
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070906/9c8dc48e/attachment.html 


More information about the antlr-interest mailing list