Skip to content
New issue

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

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

Already on GitHub? # to your account

Implement error recovery & reporting in parsers #3

Open
DavidSouther opened this issue May 21, 2022 · 1 comment
Open

Implement error recovery & reporting in parsers #3

DavidSouther opened this issue May 21, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@DavidSouther
Copy link
Collaborator

DavidSouther commented May 21, 2022

The OhmJS parser implements a first-error-is-failure PEG grammar. There are issues like ohmjs/ohm#387 to explore having it recover and report errors. Alternatively, we could look into changing the parsing infrastructure to better handle recovery & reporting multiple errors.

@DavidSouther DavidSouther added the enhancement New feature or request label May 27, 2022
@DavidSouther
Copy link
Collaborator Author

Looks like migrating to Langium might also be an option? https://langium.org/

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

No branches or pull requests

1 participant