From user-return-66573-apmail-ant-user-archive=ant.apache.org@ant.apache.org Thu Dec 04 20:21:18 2008 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 69010 invoked from network); 4 Dec 2008 20:21:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Dec 2008 20:21:18 -0000 Received: (qmail 18053 invoked by uid 500); 4 Dec 2008 20:21:26 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 18029 invoked by uid 500); 4 Dec 2008 20:21:26 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 18017 invoked by uid 99); 4 Dec 2008 20:21:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 12:21:26 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hlship@gmail.com designates 74.125.44.153 as permitted sender) Received: from [74.125.44.153] (HELO yx-out-1718.google.com) (74.125.44.153) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 20:19:54 +0000 Received: by yx-out-1718.google.com with SMTP id 34so1871596yxf.70 for ; Thu, 04 Dec 2008 12:20:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=yMTAzHXQ7HNYzNjLqLYMJmYLsVJzb4SX8/Bfq1UOrqs=; b=uxnZZfBU7KWZ06w5pM7Noha/xZ/SiXFZE4nqneRtFqTrUEIWcrdDXbgikRbOFOF+EA zt3vRDQEeAzAOTyj39j7voiMIVZYSo0CtEMUEQka5uztt5RqJiEQch8hD0nDdZWT5s0Y ReaeRwDrvbruOBod1TQ6sUuNK/yogECxz2ZqA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=BVCorpnfultc6uMZmSuRgFcWMOMK7Fky0kNYtKLeu3AaEfebH8/bqVTToGzoNUgnm4 L8lzMr/RPpT09DMvp+PcTt4JtFSRMxpZf49NhiTkWDui9qG2NZ1TlMi0a4QNlr5Qp8gP EH/Er3rXhc2cLSixBW98xfIFzYo7dzEtETCt4= Received: by 10.150.51.6 with SMTP id y6mr157526yby.193.1228422032020; Thu, 04 Dec 2008 12:20:32 -0800 (PST) Received: by 10.151.155.8 with HTTP; Thu, 4 Dec 2008 12:20:32 -0800 (PST) Message-ID: Date: Thu, 4 Dec 2008 12:20:32 -0800 From: "Howard Lewis Ship" To: "Ant Users List" Subject: Re: [antlr-interest] Getting started with Antlr: Resolving a conflicting lexer rule In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1228332438.14131.296.camel@jimi> X-Virus-Checked: Checked by ClamAV on apache.org I've taken the liberty of adding my example to the FAQ: http://www.antlr.org/wiki/pages/viewpage.action?pageId=13828121 On Thu, Dec 4, 2008 at 9:44 AM, Howard Lewis Ship wrote: > It took a LONG time but I have my grammar working. Thanks for the > pointer. Once I clean it up a little, I'll post it to this list or > onto the wiki ... it's a much simpler and easier to follow example > than the JavaFX one. > > On Wed, Dec 3, 2008 at 11:27 AM, Jim Idle 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:8080/mailman/listinfo/antlr-interest >> Unsubscribe: >> http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address >> >> >> > > > > -- > Howard M. Lewis Ship > > Creator Apache Tapestry and Apache HiveMind > -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org