Closed tjhancocks closed 4 years ago
This is mostly completed, with the exception of the assemblers not having it yet. However due to the possible reworking of the assemblers, I'm closing this for now, as the default should be to use the new logging mechanism for new code.
Is your feature request related to a problem? Please describe. Currently the way kas is reporting errors and warnings to the users as it performs lexical analysis, semantic analysis, assembly etc is not particularly useful. It doesn't always reflect what has happened, and doesn't fail gracefully.
Describe the solution you'd like Diagnostic messages should indicate the severity of the message, the file it was raised in, and the line number. For example:
Describe alternatives you've considered None considered - open to suggestions.
Additional context N/a