Skip to content

Editorial: Make grammar recursion more clear #593

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

Merged
merged 1 commit into from
Jul 23, 2019

Conversation

leebyron
Copy link
Collaborator

@leebyron leebyron commented Jul 3, 2019

When reviewing our grammar appendixes, I found some subtle inconsistencies between how we phrase things in prose and how we represent them in grammar.

This editorial change seeks to make this more clear with two subtle changes.

First, wherever a grammatical production recursion occurs, move the recursive rule to the top of the list of rules to make it more clear that recursion is possible.

Second, when describing the "list" rule, add some prose that explains this shorthand is defined by creating such a recursive production.

@leebyron leebyron added the ✏️ Editorial PR is non-normative or does not influence implementation label Jul 3, 2019
Copy link
Member

@IvanGoncharov IvanGoncharov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great improvement 👍

Copy link

@jennieohra jennieohra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leebyron leebyron merged commit dfd7571 into master Jul 23, 2019
@leebyron leebyron deleted the editorial-clearer-recursion branch July 23, 2019 00:28
@leebyron leebyron added this to the May2021 milestone Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✏️ Editorial PR is non-normative or does not influence implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants