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

Special case parsing errors #21

Closed
andymcn opened this issue Sep 2, 2014 · 1 comment
Closed

Special case parsing errors #21

andymcn opened this issue Sep 2, 2014 · 1 comment

Comments

@andymcn
Copy link
Contributor

andymcn commented Sep 2, 2014

Like most parsers we suffer from the problem that parsing errors are pretty much limited to "syntax error". To reduce this problem we should identify common mistakes, slacken the BNF to allow the errors through the parser and then specifically check for those errors.

Split the sugar phase in 2, first the correctness storage, then the sugar phase.

@andymcn
Copy link
Contributor Author

andymcn commented Sep 18, 2014

Done. The parse fix pass is now in place. Use it.

@andymcn andymcn closed this as completed Sep 18, 2014
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