I mentioned this a while back so apologies for repeating myself but I think 
this is a good and relevant video about how modern compiler design is 
significantly different to traditional compiler design, with those differences 
significantly motivated by the user experience that developers expect and 
demand from modern editors and tools:
https://channel9.msdn.com/Blogs/Seth-Juarez/Anders-Hejlsberg-on-Modern-Compiler-Construction

Anders touches on error messages briefly in the video but also talks a lot 
about the other experiences that developers expect such as autocomplete, syntax 
highlighting, inline errors (squiggles) etc.

Steven


From: ppig-discuss@googlegroups.com [mailto:ppig-discuss@googlegroups.com] On 
Behalf Of lor...@gmail.com
Sent: 06 October 2016 05:25
To: ppig-discuss@googlegroups.com
Subject: Re: [ppig-discuss] Re: Beginner friendly error messages


On Wed, Oct 5, 2016 at 10:13 AM, Derek M Jones 
<de...@knosof.co.uk<mailto:de...@knosof.co.uk>> wrote:

The only way you are going to get user oriented error messages is by
writing a front end designed for that purpose (which means ignoring
the common "how to write a compiler" advice because this is not
designed to produce meaningful messages).

It has been interesting to watch the Rust community put real effort into 
improving the error messages generated by the compiler:

https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog.rust-lang.org%2F2016%2F08%2F10%2FShape-of-errors-to-come.html&data=01%7C01%7Csteven.clarke%40microsoft.com%7C9c6739f6ffc34d3513ca08d3eda0c46a%7C72f988bf86f141af91ab2d7cd011db47%7C1&sdata=voES5nx1JAZXnRDoTWdG7fdZmj4wv07tpChwVtAE6FM%3D&reserved=0>
https://blog.rust-lang.org/2016/09/29/Rust-1.12.html<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog.rust-lang.org%2F2016%2F09%2F29%2FRust-1.12.html&data=01%7C01%7Csteven.clarke%40microsoft.com%7C9c6739f6ffc34d3513ca08d3eda0c46a%7C72f988bf86f141af91ab2d7cd011db47%7C1&sdata=t%2B14CWi93kXrw0tOs4HT971fXOgsgjsBjMxt4Rl5IkI%3D&reserved=0>


--
You received this message because you are subscribed to the Google Groups "PPIG 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
ppig-discuss+unsubscr...@googlegroups.com<mailto:ppig-discuss+unsubscr...@googlegroups.com>.
To post to this group, send email to 
ppig-discuss@googlegroups.com<mailto:ppig-discuss@googlegroups.com>.
For more options, visit 
https://groups.google.com/d/optout<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=01%7C01%7Csteven.clarke%40microsoft.com%7C9c6739f6ffc34d3513ca08d3eda0c46a%7C72f988bf86f141af91ab2d7cd011db47%7C1&sdata=bLu2PDlHM8QI7GoZ4DSdUEr3GEFYOdLLuLh%2B0dJT%2Fj4%3D&reserved=0>.

-- 
You received this message because you are subscribed to the Google Groups "PPIG 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ppig-discuss+unsubscr...@googlegroups.com.
To post to this group, send an email to ppig-discuss@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to