Open SimonGuilloud opened 1 year ago
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!
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