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

Better Error Messages #45

Open
CheaterCodes opened this issue Mar 30, 2022 · 0 comments
Open

Better Error Messages #45

CheaterCodes opened this issue Mar 30, 2022 · 0 comments
Labels
chassembly Issue regarding the chassembly submodule design decision Design discussion required enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@CheaterCodes
Copy link
Contributor

In my opinion, the biggest pain point in developing for chasm-lang right now are the bad and not very helpful error messages produced. Since #42, most expressions hold a reference to a ParseTree (though it might be null occasionally). This can be used to print the location in the source file as well as the actual expression text. However, this is currently not used in any exceptions.

A simple improvement would be to print additional information in the thrown exceptions. Alternatively, the system could even support printing multiple errors instead of simply failing at the first.

If you're interested in helping with this issue, please discuss here before opening a PR.

@CheaterCodes CheaterCodes added enhancement New feature or request help wanted Extra attention is needed design decision Design discussion required chassembly Issue regarding the chassembly submodule labels Mar 30, 2022
@CheaterCodes CheaterCodes added this to the Chasm Release milestone Dec 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chassembly Issue regarding the chassembly submodule design decision Design discussion required enhancement New feature or request help wanted Extra attention is needed
Projects
Status: Issue
Development

No branches or pull requests

1 participant