[heycam/webidl] Parsing updated ecma262 intrinsic notation (#897)

Hi!

In the ecma262 spec, we've added a [new intrinsic notation form](https://github.com/tc39/ecma262/pull/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. I wanted to file a PR on https://github.com/whatwg/html, but then realized I might need to file one on https://github.com/heycam/webidl/blob/master/index.bs#L88-L110 first (I filed https://github.com/w3c/webidl2.js/issues/480 before this, and was directed here).

I'm happy to do the work to update spec text (and for HTML, I have a branch prepared already), but I doubt I'm qualified to do the work here. Could someone help give me pointers as to what the next steps should be?

In particular, one approach that occurred to me (that I could handle!) would be to add to the current "hardcoded legacy intrinsics mentioned in HTML" the list of "hardcoded dotted intrinsics mentioned in HTML". That seems simplest, but has the downside (one which already exists now) that a PR would still have to be made here to support autolinking a new intrinsic. The ideal approach (which perhaps could be made later) would be one that figures out from any `%A.b%` which section it should link to.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/897

Received on Wednesday, 17 June 2020 23:26:16 UTC