On Sun, Nov 13, 2011 at 10:31 AM, Jiwon Seo <seoji...@gmail.com> wrote:

> I'm trying to add range operator in my language, and I'm having a
> problem with it.
>
> The range operator is defined as following:
>
> range: INT '..' INT ;
>
> where INT is '0'..'9'+
>
> I do have FLOAT, but it is defined such that it does not have conflict
> with the range operator:


Hi Jiwon,

See these documents:
http://www.antlr.org/wiki/pages/viewpage.action?pageId=3604497
http://www.antlr.org/wiki/display/ANTLR3/Lexer+grammar+for+floating+point,+dot,+range,+time+specs

Regards,

Bart.

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 il-antlr-inter...@googlegroups.com.
To unsubscribe from this group, send email to 
il-antlr-interest+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to