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

Better error messages when parsing #2

Open
zml2008 opened this issue Jun 7, 2021 · 0 comments
Open

Better error messages when parsing #2

zml2008 opened this issue Jun 7, 2021 · 0 comments

Comments

@zml2008
Copy link
Owner

zml2008 commented Jun 7, 2021

Currently we pass error messages through directly from antlr. This means there can be a lot of spam, and sometimes cryptic messages. It's probably possible to improve the usability of these messages.

A possible tactic:

// or: just bail faster. maybe suppress lexer errors, when a parser error happens, constrain the error location to be no further than the last
// successful token

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

No branches or pull requests

1 participant