You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the current implementation the parser is completely stopping when it finds an error. This can be quite cumbersome as sometimes you have multiple errors in the same file which means that you need to parse it, find the errors and parse it again (and do the same thing multiple times).
It would be a lot easier if the error handling would work so that all of the errors are being reported.
The problem with this is of course that when an error is being detected the parser must be able to "recover" from this error so that it does not spit out thousands of errors as it still tries to parser the file in a specific way.
Maybe it would be sensible to create a custom error handler for a parser and when it detects an error it is correctly handling the situation.
The text was updated successfully, but these errors were encountered:
The only problem is that the parser is modular and with that the error recovery can be tricky as it cannot just parse after that. There must be a system that skips the next characters when it found out that an error happened.
But the messages that contained some parsing errors shouldn't be in the result and only in the errors list as it isn't clear if that message can be read or not.
With the current implementation the parser is completely stopping when it finds an error. This can be quite cumbersome as sometimes you have multiple errors in the same file which means that you need to parse it, find the errors and parse it again (and do the same thing multiple times).
It would be a lot easier if the error handling would work so that all of the errors are being reported.
The problem with this is of course that when an error is being detected the parser must be able to "recover" from this error so that it does not spit out thousands of errors as it still tries to parser the file in a specific way.
Maybe it would be sensible to create a custom error handler for a parser and when it detects an error it is correctly handling the situation.
The text was updated successfully, but these errors were encountered: