Open hexaredecimal opened 6 months ago
You seem to remove the PR description by default when submitting PRs 😅 I added this to provide a checklist (mostly to myself) of what's to be done before this can be merged.
The code looks good. Do you mind fixing the formatting and adding some tests for the new error messages? I can add the changelog entry myself.
Thanks for this!!
I have improved the error messages emitted from the parser/lexer by providing more context and hints to fix the error. My implementation includes a new file, containing code which allow us to better debug tokens, by type.