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

Error handling mechanism #52

Open
mosser opened this issue Nov 19, 2023 · 0 comments
Open

Error handling mechanism #52

mosser opened this issue Nov 19, 2023 · 0 comments
Assignees
Labels
feature New feature or request refactor internal refactoring

Comments

@mosser
Copy link
Member

mosser commented Nov 19, 2023

So far, if the compiler encounters an error, it immediately stops and returns the error on stdout. This is efficient but not ideal. We should update the error processing to get a set of encountered errors. That'll be helpful for the end user, as well as the language server, to send a list of diagnostics.

A diagnostic mode (sending errors using JSON format) could also be envisioned, to ease the integration with a language server.

@mosser mosser added feature New feature or request refactor internal refactoring labels Nov 19, 2023
@mosser mosser added this to the 2312 - Fall 23 milestone Nov 19, 2023
@mosser mosser self-assigned this Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request refactor internal refactoring
Projects
None yet
Development

No branches or pull requests

1 participant