-
Notifications
You must be signed in to change notification settings - Fork 16
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
Home page example doesn't work as described #46
Comments
@eugenesvk you may need to use the "ident_list" rule (instead of "alpha") -- i.e. select it in the web editor or use |
Oh, I see, so it just doesn't select the most general rule by default, but defaults to the alphabetic sorting I'm not sure it's possible to generically determine what the top-level rule is, but I think at least for the homepage example the preselection should do the right thing |
Yeah, it's not possible to tell which rule is the top-level one, but perhaps the homepage editor could be pre-filled with that example. @nathanielknight wdyt? |
Fairly certain it's actually just the one that's at the top, not the first in alphabetical order |
@eugenesvk Thanks for the report; I'm sure you're not the only person who's been caught out by this UX issue. I think adding this as a default example (perhaps with an explanatory comment) would be an improvement. |
upd: the website Editor should try to pick the semantically top-level rule instead of the first in an alphabetically sorted order, or if it's not possible, at least do this for the example from the homepage
Or maybe the easier option is to just document that the user needs to select the general rule manually
Describe the bug
I was trying out the example from the home page and instead of getting the error mentioned there got a working
- alpha: "a"
To Reproduce
ab *
Expected behavior
Get the error message
Actual behavior
Happy parsing outcome
- alpha: "a"
Additional context
The text was updated successfully, but these errors were encountered: