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
Is your feature request related to a problem? Please describe.
The parser currently exits on first error, this leads to the cases where the user has to compile multiple times to get to cover all issues.
Describe the solution you'd like
It would be nice if the parser continued parsing and reported all errors at the end.
For this to work, the parser needs to recover when encountering an unexpected token.
A naieve strategy to start with would be to just append whatever token we were expecting and move on.
We have to make sure an invalid parse result will not be sent for generation.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The parser currently exits on first error, this leads to the cases where the user has to compile multiple times to get to cover all issues.
Describe the solution you'd like
It would be nice if the parser continued parsing and reported all errors at the end.
For this to work, the parser needs to recover when encountering an unexpected token.
A naieve strategy to start with would be to just append whatever token we were expecting and move on.
We have to make sure an invalid parse result will not be sent for generation.
The text was updated successfully, but these errors were encountered: