<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, May 30, 2014 at 2:04 PM, Alp Toker <span dir="ltr"><<a href="mailto:alp@nuanti.com" target="_blank">alp@nuanti.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=""><br>
On 30/05/2014 22:56, Richard Smith wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
This needs more thought and I don't have time right now. Maybe in 10 months or so...<br>
<br>
<a href="http://reviews.llvm.org/D3257" target="_blank">http://reviews.llvm.org/D3257</a><br>
<br></div>
Add support for ANSI escape sequences in the Lexer. In most cases, this merely provides a superior error recovery experience (we diagnose and skip over them, as we do with Unicode whitespace), but for ANSI color codes, normalize them and include them in identifiers<br>
<br>
</blockquote>
<br>
Presumably you'll rework this to include ANSI bell codes, along with any associated changes to emit identifiers that beep during codegen?<br></blockquote><div><br></div><div>Yeah. The tricky part will be deferring the beep until the user reads a diagnostic containing the identifier.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Alp.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
, as suggested on slides 52 and 53 of this presentation by Bjarne Stroustrup:<br>
<br>
<a href="https://parasol.tamu.edu/people/bs/622-GP/C++11TAMU.pdf" target="_blank">https://parasol.tamu.edu/<u></u>people/bs/622-GP/C++11TAMU.pdf</a><br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
-- <br>
<a href="http://www.nuanti.com" target="_blank">http://www.nuanti.com</a><br>
the browser experts<br>
<br>
</font></span></blockquote></div><br></div></div>