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 handling. #5

Open
pchampin opened this issue Nov 25, 2023 · 1 comment
Open

Better error handling. #5

pchampin opened this issue Nov 25, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@pchampin
Copy link
Owner

The error messages often contain the location of the error. This location information should be extracted and presented in a more uniform and readable way.

If/when #4 is implemented, it would even be better to highlight the error directly in the input editor.

@pchampin pchampin added the enhancement New feature or request label Nov 25, 2023
@pchampin
Copy link
Owner Author

pchampin commented Dec 4, 2023

#9 partially addresses this issue, by

  • parsing the text of the exception (for syntaxes of the "turtle-family"), then
  • highlighting the correct place in the monaco-editor, with the corresponding message

I keep this issue open because a more robust solution (also working for the other parsers) would be preferable.

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

1 participant