-
Notifications
You must be signed in to change notification settings - Fork 19
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
Print errors from parsing in a meaningful way #86
Comments
I'm working on an error reporting system. Key for the parser will be to throw a specific error right at the called function, not multiple levels bellow. |
Couple of comments for context:
|
Sounds like a non-controversial step is to provide the position. Scallion should already have functionality for that. |
@vkuncak: working on it! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error when parsing a statement or formula look like "Caused by: lisa.utils.Parser$ParserException: Unexpected input: )
", lost in the stack trace.
We should instead print meaningfull error messages before making the program fail, indicating the parsing of which formula caused the crash, and ideally, if it is in a proof, at which line
The text was updated successfully, but these errors were encountered: