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: normalize wording used to apply syntax-directed operations #1571

Merged

Conversation

michaelficarra
Copy link
Member

@michaelficarra michaelficarra commented Jun 7, 2019

  • Normalised the wording of applying a syntax-directed operation
  • Normalised the wording of passing arguments to a syntax-directed operation
  • Used ? shorthand for syntax-directed operations where applicable

I was a bit conflicted between the terse "Operation of |NonTerminal|" and the verbose "the result of applying Operation {for,of,to} |NonTerminal|". I'm happy either way.

I left "the result of evaluating" alone, both for wording normalisation and for usage of ?. Even though it's just another syntax-directed operation, it is invoked using a special form. If the editors decide that we should include evaluation in this normalisation, I'll make the change.

@ljharb ljharb requested review from zenparsing and a team June 7, 2019 05:50
spec.html Show resolved Hide resolved
@michaelficarra michaelficarra force-pushed the normalise-syntax-directed-operations branch from 8414752 to 3562a44 Compare June 13, 2019 23:01
@ljharb ljharb changed the title Editorial: normalise wording used to apply syntax-directed operations Editorial: normalize wording used to apply syntax-directed operations Jun 13, 2019
michaelficarra added a commit to michaelficarra/ecma262 that referenced this pull request Jun 18, 2019
@ljharb ljharb self-assigned this Jul 17, 2019
@ljharb ljharb force-pushed the normalise-syntax-directed-operations branch from 3562a44 to 2b067ea Compare July 18, 2019 05:50
@ljharb ljharb merged commit 2b067ea into tc39:master Jul 18, 2019
@jmdyck jmdyck mentioned this pull request Jul 18, 2019
@michaelficarra michaelficarra deleted the normalise-syntax-directed-operations branch July 18, 2019 20:12
ljharb pushed a commit to jmdyck/ecma262 that referenced this pull request Sep 16, 2019
In PR tc39#1571:

https://github.com/tc39/ecma262/pull/1571/files#diff-3540caefa502006d8a33cb1385720803L19940
removed the step
"Assert: _constructorInfo_ is not an abrupt completion."
but didn't insert the equivalent "!" on the previous line.

https://github.com/tc39/ecma262/pull/1571/files#diff-3540caefa502006d8a33cb1385720803L23362
removed a ReturnIfAbrupt step,
but didn't insert the equivalent '?' in the previous line.

---

Commit f1b22ef (tc39#1376) changed 2 occurrences of
  "%AsyncIteratorPrototype%
to
  "%AsyncIterator.prototype%
but the latter assumes a well-known intrinsic named "%AsyncIterator%",
which doesn't exist.

This commit changes them back.

---

Commit f1b22ef (tc39#1376) changed lots of intrinsic-names
from old-style to new-style.

But these two should have stayed old-style,
so switch them back.

(See tc39#1636 (comment))
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.

4 participants