miniblog.
← Back to all posts
Dec 27, 2015 at 10:11
Good compiler error messages are hard. LtU:
https://lambda-the-ultimate.org/node/5280#comment-90836
if two parts of a function use different types, what do you highlight?
Wilfred Hughes
Related Posts
Jan 30, 2018 at 21:19
Writing macros in lisp is straightforward, but providing good error message is much trickier. The Racket docs have an excellent discussion of writing a mylet macro with clear errors that reference which part is wrong:
1.1 Introduction
docs.racket-lang.org/syntax/stxparse-intro.html
Wilfred Hughes
Shared words: Good, error, messages, parts Score: 64.8
Mar 21, 2020 at 07:57
Futhark uses unification to drive its type checker, but has different logic to produce error messages!
https://futhark-lang.org/blog/2020-03-15-futhark-0.15.1-released.html
This is a question I've faced on several occasions.
Futhark 0.15.1 released - now with size types!
A high-performance and high-level purely functional data-parallel array programming language that can execute on the GPU and CPU.
Wilfred Hughes
Shared words: error, messages, different, types Score: 61.1
Nov 19, 2024 at 04:52
9
Some delightful examples of good compiler error messages in the latest Gleam release:
Context aware compilation | Gleam programming language
gleam.run/news/context-aware-compilation/
Wilfred Hughes
Shared words: Good, compiler, error, messages Score: 60.5