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

Howard Lewis Ship hlship at gmail.com
Thu Dec 4 12:33:40 PST 2008


I've taken the liberty of adding my example to the FAQ:

http://www.antlr.org/wiki/pages/viewpage.action?pageId=13828121

On Wed, Dec 3, 2008 at 11:27 AM, Jim Idle <jimi at temporal-wave.com> wrote:
> 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
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind


More information about the antlr-interest mailing list