[PATCH] Support ANSI escape sequences in the Lexer
Alp Toker
alp at nuanti.com
Fri May 30 14:04:08 PDT 2014
On 30/05/2014 22:56, Richard Smith wrote:
> This needs more thought and I don't have time right now. Maybe in 10 months or so...
>
> http://reviews.llvm.org/D3257
>
> 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
>
Presumably you'll rework this to include ANSI bell codes, along with any
associated changes to emit identifiers that beep during codegen?
Alp.
> , as suggested on slides 52 and 53 of this presentation by Bjarne
> Stroustrup:
>
> https://parasol.tamu.edu/people/bs/622-GP/C++11TAMU.pdf
>
--
http://www.nuanti.com
the browser experts
More information about the cfe-commits
mailing list