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

Clearer error message for unparseable LR items #2

Open
michael-schwarz opened this issue Feb 19, 2021 · 1 comment
Open

Clearer error message for unparseable LR items #2

michael-schwarz opened this issue Feb 19, 2021 · 1 comment

Comments

@michael-schwarz
Copy link

I was checking some features and made a typo and had a . instead of a , for separating the lookahead.
The error message from the tool was not too helpful in debugging this issue.
Screenshot from 2021-02-19 15-52-25

It would be nice if there was some sort of clearer error message if an item is malformed (i.e. it can not even be parsed as an LR(0/1) item)

Input file: Saved Automaton, rename to *.xml graph.txt

@michael-schwarz
Copy link
Author

Btw, fixing this is of course completely voluntary and will not impact grading, as the official deadline is already over 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant