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

Editorial: Annex A tweaks #1868

Merged
merged 3 commits into from
Mar 19, 2020
Merged

Editorial: Annex A tweaks #1868

merged 3 commits into from
Mar 19, 2020

Conversation

jmdyck
Copy link
Collaborator

@jmdyck jmdyck commented Feb 9, 2020

This PR cherry-picks commits 4 - 7 of PR #1651. Their purpose is to reduce inconsistencies between the main body and Annex A (Grammar Summary), making it easier to keep them in synch going forward.

spec.html Outdated Show resolved Hide resolved
@jmdyck jmdyck force-pushed the annex_a_tweaks branch 2 times, most recently from 698003b to 3dd9e0a Compare February 20, 2020 22:23
@jmdyck
Copy link
Collaborator Author

jmdyck commented Feb 20, 2020

(force-pushed to resolve a merge conflict)

ljharb pushed a commit that referenced this pull request Feb 21, 2020
... for consistency.
(The vast majority of these are in Annex A.)
ljharb pushed a commit to jmdyck/ecma262 that referenced this pull request Feb 21, 2020
ljharb pushed a commit to jmdyck/ecma262 that referenced this pull request Feb 21, 2020
... to better match the order of productions in the main body.
ljharb pushed a commit to jmdyck/ecma262 that referenced this pull request Feb 21, 2020
We're talking about
    AsyncArrowFunction : CoverCallExpressionAndAsyncArrowHead
so change
    CoverParenthesizedExpressionAndArrowParameterList
to
    CoverCallExpressionAndAsyncArrowHead
@ljharb
Copy link
Member

ljharb commented Feb 21, 2020

i went ahead and pulled the markup commit directly into master, and rebased this PR on top. Please confirm that the diff looks correct.

@jmdyck
Copy link
Collaborator Author

jmdyck commented Feb 24, 2020

Please confirm that the diff looks correct.

Looks correct to me.

@ljharb ljharb requested review from syg, michaelficarra, a team and bakkot February 24, 2020 04:12
@michaelficarra
Copy link
Member

Should we just sort both lists? Are they already in some other order that I'm not aware of?

@jmdyck
Copy link
Collaborator Author

jmdyck commented Feb 25, 2020

Should we just sort both lists?

Sort alphabetically? And what do you mean by "both" lists? This PR is about reducing inconsistencies between the main body and Annex A re the order of [defining] productions. I could imagine sorting Annex A, but what would it mean to sort the productions in the main body?

Are they already in some other order that I'm not aware of?

Annex A presents productions in roughly the same order as they appear in the main body. This PR reduces the roughness. We could eliminate order differences entirely if that's wanted. When I proposed these commits, I was just going for small changes that would allow me to continue.

@ljharb ljharb self-assigned this Mar 18, 2020
jmdyck added 3 commits March 18, 2020 15:58
... to better match the order of productions in the main body.
We're talking about
    AsyncArrowFunction : CoverCallExpressionAndAsyncArrowHead
so change
    CoverParenthesizedExpressionAndArrowParameterList
to
    CoverCallExpressionAndAsyncArrowHead
@ljharb ljharb merged commit c695f9a into tc39:master Mar 19, 2020
@jmdyck jmdyck deleted the annex_a_tweaks branch May 1, 2020 21:59
jmdyck added a commit to jmdyck/ecma262 that referenced this pull request Aug 9, 2020
(We always quote element attributes -- see PR tc39#1868)
jmdyck added a commit to jmdyck/ecma262 that referenced this pull request Aug 11, 2020
- Put 2 emu-clause attributes in quotes
  (We always quote element attributes -- see PR tc39#1868)

- Use title-case in clause heading

- Tweak some algorithm syntax

- Change "a finalization registry object" to "a FinalizationRegistry"
  (The former term isn't defined.)
jmdyck added a commit to jmdyck/ecma262 that referenced this pull request Aug 11, 2020
- Use title-case in clause heading

- Tweak some algorithm syntax

- Put 2 emu-clause attributes in quotes
  (We always quote element attributes -- see PR tc39#1868)

- Change "a finalization registry object" to "a FinalizationRegistry"
  (The former term isn't defined.)
ljharb pushed a commit to jmdyck/ecma262 that referenced this pull request Aug 11, 2020
- Use title-case in clause heading

- Tweak some algorithm syntax

- Put 2 emu-clause attributes in quotes
  (We always quote element attributes -- see PR tc39#1868)

- Change "a finalization registry object" to "a FinalizationRegistry"
  (The former term isn't defined.)
h2oche pushed a commit to h2oche/ecma262 that referenced this pull request Aug 16, 2020
- Use title-case in clause heading

- Tweak some algorithm syntax

- Put 2 emu-clause attributes in quotes
  (We always quote element attributes -- see PR tc39#1868)

- Change "a finalization registry object" to "a FinalizationRegistry"
  (The former term isn't defined.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants