-
Notifications
You must be signed in to change notification settings - Fork 638
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
Documentation needed for the output of "Print Custom Grammar" #12522
Comments
In 8.12, there is a bit of explanation in the description of |
Thank you -- this is already helpful, though I didn't understand this part (which I think is related to things I didn't understand when trying to figure it out for myself -- the precedence and associativity are easy to guess): "SELF represents the tactic_expr nonterminal at level 5 (the top level)." A slightly larger example might be even more helpful. (Also, this might be a good opportunity for illustrating the way grammars have to be "hand factored" for the parser.) |
cc-ing @jfehrle who authored this explanation |
Indeed, this is incorrect.
In the doc,
Using 3 different names for same nonterminal is less than ideal. Once all the syntax in the doc has been updated, we'll look at making them more consistent, such as by
I'll update the doc with explanation similar to what I said above. Given that, what would you want to see in an example?
Let me see what we can do. It shouldn't be too hard to cover this specific point. We don't have much in the way of developer documentation--not sure if that should be in the reference manual or I'll update the doc. If you'd like to review the changes before they're merged, let me know and I'll notify you when we have something ready. |
(1) Is there someplace where Coq users can read about how to interpret the output of the "Print Custom Grammar" command?
(2) Could we put (at least a pointer to) it in the reference manual?
The text was updated successfully, but these errors were encountered: