[antlr-interest] Getting started with Antlr: Resolving a conflicting lexer rule

Jim Idle jimi at temporal-wave.com
Wed Dec 3 11:27:18 PST 2008


On Wed, 2008-12-03 at 09:49 -0800, Howard Lewis Ship wrote:

> I'm working on an improved property expression language for Tapestry
> 5.1. My first step was to recreate what T5.0 accepted in the past
> (using an ad-hoc parser based on regular expressions).



> 
> 
> My problem is a conflict between FLOAT and RANGEOP in my parser grammar:
> 

Please refer to teh FAQ example:

http://www.antlr.org/wiki/display/ANTLR3/Lexer+grammar+for+floating
+point%2C+dot%2C+range%2C+time+specs 


This covers more than you need so you can cull it down to just range vs
dot.

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20081203/b20ddd81/attachment.html 


More information about the antlr-interest mailing list