Comment by recursivecaveat

Comment by recursivecaveat 3 days ago

2 replies

Keep in mind one of the most important attributes of a good compiler is clearly explaining to the user what caused compilation failure and why. If you try to solve in a very abstract and general space it could be challenging to give an actionable error message.

saghm 3 days ago

I suspect you've intentionally phrased this to avoid referencing type checking in particular, since this is also the main reason that mainstream programming languages tend to use hand-written parsers rather than generators from what I understand, and I imagine it applies to a lot of other features as well.

Quekid5 3 days ago

Yup, that's basically it. "SAT says no" isn't a very useful error message.