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

Change UI so that combined grammars have only one tab #2

Open
kaby76 opened this issue Feb 29, 2024 · 3 comments
Open

Change UI so that combined grammars have only one tab #2

kaby76 opened this issue Feb 29, 2024 · 3 comments

Comments

@kaby76
Copy link
Collaborator

kaby76 commented Feb 29, 2024

We keep getting users that get confused with the antlr-lab UI. https://stackoverflow.com/questions/78080471/using-spaces-as-delimiters-in-antlr4 . People paste a combined grammar into the "parser" text box, but then fail to clear the "lexer" text box. The UI needs to differentiate between combined- and split-grammars.

Instead, provide a check box "combined" that is "on" by default. When it is "on", only show a "parser" grammar. Do not provide a "lexer" tab/text box.

@ericvergnaud
Copy link
Contributor

How about going a step further and showing "combined" when the check box is on vs "parser" and "lexer" when it's off ?

@ericvergnaud
Copy link
Contributor

And how about auto detection ?

@kaby76
Copy link
Collaborator Author

kaby76 commented Mar 1, 2024

All good ideas, any of which would help make it work for the better.

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

2 participants