Common syntax mistakes should be given dedicated error messages.
All other syntax error messages should be cleaned up to be more human readable. Right now they leak the identifiers of tokens, which is subpar. For example: expected one of "{", but found 'Comma'
This could be improved considerably.
Common syntax mistakes should be given dedicated error messages.
All other syntax error messages should be cleaned up to be more human readable. Right now they leak the identifiers of tokens, which is subpar. For example:
expected one of "{", but found 'Comma'
This could be improved considerably.