DIP58: ".." as a Binary Operator

Timon Gehr timon.gehr at gmx.ch
Mon Mar 17 15:43:09 PDT 2014


On 03/17/2014 11:37 PM, H. S. Teoh wrote:
>> >1..1 makes you think you got a prefix of a float 1. but actually you
>> >got an int slice_operator int. If there where no .. flex like
>> >generator could handle D, at least as far as I can see it.
> Point.
>
> But still, syntax that makes lexing or parsing hard -- that scores
> against this DIP.
>

No, it does not. The lexer does not need to change.


More information about the Digitalmars-d mailing list