Open andychu opened 5 years ago
I want to tackle this soon
copying comments:
I think color error messages like Clang/GCC can be more concise and readable, but there are some pitfalls:
https://lobste.rs/s/rcdj1z/hard_part_learning_language#c_e5y0gn
solution could be to respect
Maybe the colors should be controlled by an option, like
shopt -s color-errors
Not to go overboard, but we might want some notion of styles:
errexit
), then we don't want the errors to interleave