Skip to content

Improve Syntax Error Messages #348

Description

@InsertCreativityHere

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

slicecRelated to the 'slicec' crate

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions