<div dir="ltr">On Mon, Jun 10, 2013 at 9:50 AM, Raimo Niskanen <span dir="ltr"><<a href="mailto:raimo+erlang-patches@erix.ericsson.se" target="_blank">raimo+erlang-patches@erix.ericsson.se</a>></span> wrote:<br><div class="gmail_extra">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><span style="color:rgb(34,34,34)">But I still think that forever forcing Erlang to need an infinite look </span><span style="color:rgb(34,34,34)">ahead custom syntax aware scanner still is a strong argument against the </span><span style="color:rgb(34,34,34)">suggested improvement.</span></div>
</blockquote><div><br></div><div>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.</div>
<div> </div><div>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.</div>
<div><br></div></div>-- <br>Rich<br>
</div></div>