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

Add more useful error output #34

Open
NickSettler opened this issue Nov 8, 2022 · 0 comments
Open

Add more useful error output #34

NickSettler opened this issue Nov 8, 2022 · 0 comments
Labels
feature New feature or request lexical_analyzer Lexical analysis changes maybe Something that is not surely needed to be done or is not required at all syntax_analyzer Syntax analysis changes

Comments

@NickSettler
Copy link
Owner

To print more useful error messages, there is a need to add information about each token where it starts and ends. This information can be stored in each token of lexical analyzer and be passed to syntax analyzer. Syntax analyzer nodes can also contain this information in node attributes to print its error during analysis.

@NickSettler NickSettler added feature New feature or request maybe Something that is not surely needed to be done or is not required at all lexical_analyzer Lexical analysis changes syntax_analyzer Syntax analysis changes labels Nov 8, 2022
@NickSettler NickSettler added this to VUT Nov 8, 2022
@NickSettler NickSettler moved this to Todo in VUT Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request lexical_analyzer Lexical analysis changes maybe Something that is not surely needed to be done or is not required at all syntax_analyzer Syntax analysis changes
Projects
Status: Todo
Development

No branches or pull requests

1 participant