std.d.lexer: pre-voting review / discussion

Jonathan M Davis jmdavisProg at gmx.com
Wed Sep 11 12:29:33 PDT 2013


On Wednesday, September 11, 2013 19:17:26 Manfred Nowak wrote:
> Walter Bright wrote:
> > Parsing D requires arbitrary lookahead.
> 
> Why---and since which version?

IIRC, it's at least partially cause by the .. token. You have to look ahead to 
figure out whether it's .. or a floating point literal. There may be other cases 
as well, but that particular one was actually complained about by Robert 
Schadek in his talk at dconf 2013.

- Jonathan M Davis


More information about the Digitalmars-d mailing list