DMD now has colorized syntax highlighting in error messages

MysticZach via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu May 18 11:20:05 PDT 2017


On Thursday, 18 May 2017 at 01:52:17 UTC, Adam D. Ruppe wrote:
> On Tuesday, 16 May 2017 at 14:17:41 UTC, Adam D. Ruppe wrote:
>> Similarly, what I want to see in the future is highlighting of 
>> specific parts of code where the error applies.
>
>
> Fear me. I combined Walter's code with my own to form some kind 
> of Voltron!
>
> https://github.com/dlang/dmd/pull/6806

I think the compiler's error design could use a complete 
overhaul. I'm wondering if it wouldn't be wise to start a new git 
branch for all changes to error messages. Call it 
`stderr.experimental` or something cute like that. The idea is 
that D won't break people's test code that checks error output 
until a more complete design has been worked out and approved of. 
I'm not in favor of or against this idea. I just wanted to 
propose it.


More information about the Digitalmars-d-announce mailing list