Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement: Tell me where I am in the tree when a parse failure happens #26

Open
jasminemoore-verses opened this issue Jun 23, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@jasminemoore-verses
Copy link

The error message currently includes which AST (struct|enum) is currently being parsed, but does not say which Pest token we are currently at.

  • "Extraneous tokens" should tell me which tokens are bonus
  • "No Match" should tell me what token is present.
@tomtau tomtau added the enhancement New feature or request label Aug 14, 2023
@oxcrow
Copy link

oxcrow commented Jul 18, 2024

This would be extremely helpful.

As I've seen, pest prints helpful errors, and hopefully pest-ast can also print similarly helpful errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants