Skip to content

Improve error messages #1

@amitp

Description

@amitp

James Harr would like:

  • Line & Character Position

  • Parse Stack

  • List of expected Tokens

  • Parse string

  • A function to generate something similar to this:

    Parse error near line 86, character 4:
      int x = 5;
      cahr y = 'c';
      ^^^^
    Found "cahr", expected [char, int, bool, array].
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions