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

add links for dotted intrinsic form #898

Merged
merged 1 commit into from
Jun 18, 2020
Merged

add links for dotted intrinsic form #898

merged 1 commit into from
Jun 18, 2020

Conversation

ljharb
Copy link
Contributor

@ljharb ljharb commented Jun 18, 2020

In the ecma262 spec, we've added a new intrinsic notation form that will avoid unbounded growth of our list of intrinsics.

Specifically, things like %ArrayPrototype% and %ObjProto_valueOf% should now be represented as %Array.prototype% and %Object.prototype.valueOf%, respectively.

Our intention is to delete the "legacy" forms entirely in favor of the dotted forms.

Closes #897.

In the ecma262 spec, we've added a [new intrinsic notation form](tc39/ecma262#1376) that will avoid unbounded growth of our list of intrinsics.

Specifically, things like `%ArrayPrototype%` and `%ObjProto_valueOf%` should now be represented as `%Array.prototype%` and `%Object.prototype.valueOf%`, respectively.

Our intention is to delete the "legacy" forms entirely in favor of the dotted forms.

Closes #897.
Copy link
Member

@domenic domenic left a comment

Choose a reason for hiding this comment

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

Ah, sorry, let me try to give more context on how this works. (You can also check the output by running make remote.)

Each of these entries of the form text: x; url: y allows our spec pre-proccessing tool to convert shorthands like {{x}} into <a href="y">x</a>. So adding them here by themselves doesn't do anything. You additionally need to update the usage sites. (And then you should be able to delete all the previous ones.)

@ljharb
Copy link
Contributor Author

ljharb commented Jun 18, 2020

My assumption was that I'd land this first, and then I'd be able to land the PR in HTML, but if they can go in parallel I'll file that one now.

@domenic
Copy link
Member

domenic commented Jun 18, 2020

Hmm, I wasn't discussing anything in HTML in my above comment; I was talking purely about how to change the links that show up in e.g. https://heycam.github.io/webidl/#es-iterable

@ljharb
Copy link
Contributor Author

ljharb commented Jun 18, 2020

aha, thanks, that helps. updating this now.

@domenic domenic merged commit 79bd7e0 into whatwg:master Jun 18, 2020
@ljharb ljharb deleted the dot_intrinsics branch June 18, 2020 22:36
ljharb added a commit to ljharb/ecma262 that referenced this pull request Jun 19, 2020
All uses of these have been removed from HTML:
 - whatwg/webidl#898
 - whatwg/html#5655
 - whatwg/infra#316
ljharb added a commit to ljharb/ecma262 that referenced this pull request Jun 19, 2020
All uses of these have been removed from HTML:
 - whatwg/webidl#898
 - whatwg/html#5655
 - whatwg/infra#316
ljharb added a commit to ljharb/ecma262 that referenced this pull request Jun 19, 2020
All uses of these have been removed from HTML:
 - whatwg/webidl#898
 - whatwg/html#5655
 - whatwg/infra#316
ljharb added a commit to ljharb/ecma262 that referenced this pull request Jun 19, 2020
All uses of these have been removed from HTML:
 - whatwg/webidl#898
 - whatwg/html#5655
 - whatwg/infra#316
ljharb added a commit to ljharb/ecma262 that referenced this pull request Jun 24, 2020
All uses of these have been removed from HTML:
 - whatwg/webidl#898
 - whatwg/html#5655
 - whatwg/infra#316
ljharb added a commit to ljharb/ecma262 that referenced this pull request Aug 10, 2020
All uses of these have been removed from HTML:
 - whatwg/webidl#898
 - whatwg/html#5655
 - whatwg/infra#316
ljharb added a commit to ljharb/ecma262 that referenced this pull request Aug 11, 2020
All uses of these have been removed from HTML:
 - whatwg/webidl#898
 - whatwg/html#5655
 - whatwg/infra#316
ljharb added a commit to ljharb/ecma262 that referenced this pull request Aug 27, 2020
ljharb added a commit to ljharb/ecma262 that referenced this pull request Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Parsing updated ecma262 intrinsic notation
2 participants