[erlang-patches] Scan "=<<" as something useful
Tue Oct 8 14:24:20 CEST 2013
On Mon, Jun 10, 2013 at 9:50 AM, Raimo Niskanen <
> But I still think that forever forcing Erlang to need an infinite look ahead
> custom syntax aware scanner still is a strong argument against the suggested
The language designers used certain symbols multiple times in the grammar
which could create ambiguous scanning results. The compiler needs to
properly handle them, even if it means sacrificing the scanner's simplicity.
The C++ camp recently fixed a similar wart with nested templates. You used
to place a whitespace between the closing '>'s so the compiler didn't
confuse the closing of both template specifications with a shift operator
(>>). It now Does The Right Thing even though it was a special case.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-patches