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

Display feedback upon failed alg parse. #22

Open
lgarron opened this issue Feb 18, 2014 · 0 comments
Open

Display feedback upon failed alg parse. #22

lgarron opened this issue Feb 18, 2014 · 0 comments

Comments

@lgarron
Copy link
Member

lgarron commented Feb 18, 2014

The console error is nearly descriptive enough to show directly to the user, but I need to figure out where to put it (probably an error box under the textarea, with highlighting of the bad move).

Error: Parse error on line 1:
R U '
----^
Expecting 'EOF', 'NUMBER', 'BASE_W', 'BASE_LOWERCASE', 'BASE_UPPERCASE', 'BASE_ROTATION', 'BASE_SLICE', 'PAUSE', 'WHITESPACE', 'OPEN_BRACKET', 'COMMA', 'CLOSE_BRACKET', 'COLON', 'OPEN_PARENTHESIS', 'CLOSE_PARENTHESIS', 'NEWLINE', got 'PRIME'

Note that the init/alg textareas are already highlighted when there's a mistake (since e59418b).

@lgarron lgarron mentioned this issue Feb 18, 2014
21 tasks
@lgarron lgarron added this to the 1.0 milestone Feb 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant