[antlr-interest] quoted strings round 2

Terence Parr parrt at cs.usfca.edu
Wed Nov 23 13:03:07 PST 2005


On Nov 23, 2005, at 12:56 PM, Jim Idle wrote:

>
>
>> -----Original Message-----
>> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
>> bounces at antlr.org] On Behalf Of Terence Parr
>> Sent: Wednesday, November 23, 2005 11:22 AM
>> To: ANTLR Interest
>> Subject: [antlr-interest] quoted strings round 2
>>
>> Ok, so in the lexer does "0".."9" look funny?
>
> I quite like this, but perhaps it is because I am just used to it.
>
>> What about ("x"|"y")?
>
> This looks strange to me. I would vote to keep the .., but at the  
> end of
> the day I don't hate this.

Well we need both actually so you can have sets of chars...

Ter


More information about the antlr-interest mailing list