Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved error messages #99

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

hexaredecimal
Copy link
Contributor

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.

@hexaredecimal hexaredecimal requested a review from garritfra as a code owner April 6, 2024 12:26
@garritfra
Copy link
Collaborator

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!!

… are triggered in specific places and may be updated in other places in the future
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants