[antlr-interest] quoted strings round 2
Jim Idle
jimi at temporal-wave.com
Wed Nov 23 12:56:22 PST 2005
> -----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.
>
> Looks funny, but it's cool as long as I use a predicate to ensure the
> length is 1 (sensitive to escapes that is).
>
> Ter
More information about the antlr-interest
mailing list