Skip to content

Commit 45ee279

Browse files
ryzokukengibson042
andcommitted
Editorial: clean up references to ecma262
Rename all references to es202x to ECMA-262 with a dfn that could be updated more conveninently and get rid of redundant editorial note. Furthermore, it simplifies every remaining reference to ECMA-262 in the spec to be better and easier to maintain in the future. Co-authored-by: Richard Gibson <[email protected]>
1 parent 347d264 commit 45ee279

10 files changed

+37
-41
lines changed

spec/collator.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ <h1>
223223
<dd>
224224
The returned Number represents the result of an implementation-defined locale-sensitive String comparison of _x_ with _y_.
225225
The result is intended to correspond with a sort order of String values according to the effective locale and collation options of _collator_, and will be negative when _x_ is ordered before _y_, positive when _x_ is ordered after _y_, and zero in all other cases (representing no relative ordering between _x_ and _y_).
226-
String values must be interpreted as UTF-16 code unit sequences as described in es2026, <emu-xref href="#sec-ecmascript-language-types-string-type"></emu-xref>, and a surrogate pair (a code unit in the range 0xD800 to 0xDBFF followed by a code unit in the range 0xDC00 to 0xDFFF) within a string must be interpreted as the corresponding code point.
226+
String values must be interpreted as UTF-16 code unit sequences as described in ECMA-262, <emu-xref href="#sec-ecmascript-language-types-string-type"></emu-xref>, and a surrogate pair (a code unit in the range 0xD800 to 0xDBFF followed by a code unit in the range 0xDC00 to 0xDFFF) within a string must be interpreted as the corresponding code point.
227227
</dd>
228228
</dl>
229229

spec/conformance.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<emu-clause id="conformance">
22
<h1>Conformance</h1>
3-
<p>A conforming implementation of this specification must conform to the ECMAScript 2026 Language Specification (ECMA-262 17<sup>th</sup> Edition, or successor), and must provide and support all the objects, properties, functions, and program semantics described in this specification. Nothing in this specification is intended to allow behaviour that is otherwise prohibited by ECMA-262, and any such conflict should be considered an editorial error rather than an override of constraints from ECMA-262.</p>
3+
<p>A conforming implementation of this specification must conform to ECMA-262, and must provide and support all the objects, properties, functions, and program semantics described in this specification. Nothing in this specification is intended to allow behaviour that is otherwise prohibited by ECMA-262, and any such conflict should be considered an editorial error rather than an override of constraints from ECMA-262.</p>
44
<p>A conforming implementation is permitted to provide additional objects, properties, and functions beyond those described in this specification. In particular, a conforming implementation is permitted to provide properties not described in this specification, and values for those properties, for objects that are described herein. A conforming implementation is not permitted to add optional arguments to the functions defined in this specification.</p>
55
<p>A conforming implementation is permitted to accept additional values, and then have implementation-defined behaviour instead of throwing a *RangeError*, for the following properties of _options_ arguments:</p>
66
<ul>

spec/conventions.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<emu-clause id="conventions">
22
<h1>Notational Conventions</h1>
33

4-
<p>This standard uses a subset of the notational conventions of the ECMAScript 2026 Language Specification (ECMA-262 17<sup>th</sup> Edition), as es2026:</p>
4+
<p>This standard uses a subset of the notational conventions of ECMA-262:</p>
55

66
<ul>
7-
<li>Object Internal Methods and Internal Slots, as described in es2026, <emu-xref href="#sec-object-internal-methods-and-internal-slots"></emu-xref>.</li>
8-
<li>Algorithm conventions, as described in es2026, <emu-xref href="#sec-algorithm-conventions"></emu-xref>, and the use of abstract operations, as described in es2026, <emu-xref href="#sec-type-conversion"></emu-xref>, <emu-xref href="#sec-testing-and-comparison-operations"></emu-xref>, <emu-xref href="#sec-operations-on-objects"></emu-xref>, <emu-xref href="#sec-operations-on-iterator-objects"></emu-xref>.</li>
9-
<li>Internal Slots, as described in es2026, <emu-xref href="#sec-ordinary-object-internal-methods-and-internal-slots"></emu-xref>.</li>
10-
<li>The List and Record Specification Type, as described in es2026, <emu-xref href="#sec-list-and-record-specification-type"></emu-xref>.</li>
7+
<li>Object Internal Methods and Internal Slots, as described in <emu-xref href="#sec-object-internal-methods-and-internal-slots" title></emu-xref>.</li>
8+
<li>Algorithm conventions, as described in <emu-xref href="#sec-algorithm-conventions" title></emu-xref>, and the use of abstract operations as described in <emu-xref href="#sec-type-conversion" title></emu-xref>, <emu-xref href="#sec-testing-and-comparison-operations" title></emu-xref>, <emu-xref href="#sec-operations-on-objects" title></emu-xref>, and <emu-xref href="#sec-operations-on-iterator-objects" title></emu-xref>.</li>
9+
<li>Internal Slots, as described in <emu-xref href="#sec-ordinary-object-internal-methods-and-internal-slots" title></emu-xref>.</li>
10+
<li>The List and Record Specification Type, as described in <emu-xref href="#sec-list-and-record-specification-type" title></emu-xref>.</li>
1111
</ul>
1212

1313
<emu-note>
14-
As described in the ECMAScript Language Specification, algorithms are used to precisely specify the required semantics of ECMAScript constructs, but are not intended to imply the use of any specific implementation technique. Internal slots are used to define the semantics of object values, but are not part of the API. They are defined purely for expository purposes. An implementation of the API must behave as if it produced and operated upon internal slots in the manner described here.
14+
As described in ECMA-262, algorithms are used to precisely specify the required semantics of ECMAScript constructs, but are not intended to imply the use of any specific implementation technique. Internal slots are used to define the semantics of object values, but are not part of the API. They are defined purely for expository purposes. An implementation of the API must behave as if it produced and operated upon internal slots in the manner described here.
1515
</emu-note>
1616

1717
<p>As an extension to the Record Specification Type, the notation “[[&lt;_name_>]]” denotes a field whose name is given by the variable _name_, which must have a String value. For example, if a variable _s_ has the value *"a"*, then [[&lt;_s_>]] denotes the field [[a]].</p>
@@ -21,7 +21,7 @@ <h1>Notational Conventions</h1>
2121
<emu-clause id="sec-402-well-known-intrinsic-objects">
2222
<h1>Well-Known Intrinsic Objects</h1>
2323

24-
<p>The following table extends the Well-Known Intrinsic Objects table defined in es2026, <emu-xref href="#sec-well-known-intrinsic-objects"></emu-xref>.</p>
24+
<p>The following table extends the Well-Known Intrinsic Objects table defined in <emu-xref href="#sec-well-known-intrinsic-objects" title></emu-xref>.</p>
2525

2626
<emu-table id="table-402-well-known-intrinsic-objects">
2727
<emu-caption>Well-known Intrinsic Objects (Extensions)</emu-caption>

spec/datetimeformat.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1439,7 +1439,7 @@ <h1>
14391439
</h1>
14401440
<dl class="header">
14411441
<dt>description</dt>
1442-
<dd>It interprets _x_ as a time value as specified in es2026, <emu-xref href="#sec-time-values-and-time-range"></emu-xref>, and creates the corresponding parts according to the effective locale and the formatting options of _dateTimeFormat_.</dd>
1442+
<dd>It interprets _x_ as a time value as specified in ECMA-262, <emu-xref href="#sec-time-values-and-time-range"></emu-xref>, and creates the corresponding parts according to the effective locale and the formatting options of _dateTimeFormat_.</dd>
14431443
</dl>
14441444
<emu-alg>
14451445
1. Let _x_ be TimeClip(_x_).
@@ -1506,7 +1506,7 @@ <h1>
15061506
</h1>
15071507
<dl class="header">
15081508
<dt>description</dt>
1509-
<dd>It interprets _x_ and _y_ as time values as specified in es2026, <emu-xref href="#sec-time-values-and-time-range"></emu-xref>, and creates the corresponding parts according to the effective locale and the formatting options of _dateTimeFormat_.</dd>
1509+
<dd>It interprets _x_ and _y_ as time values as specified in ECMA-262, <emu-xref href="#sec-time-values-and-time-range"></emu-xref>, and creates the corresponding parts according to the effective locale and the formatting options of _dateTimeFormat_.</dd>
15101510
</dl>
15111511
<emu-alg>
15121512
1. Set _x_ to TimeClip(_x_).

spec/introduction.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<emu-intro id="introduction">
22
<h1>Introduction</h1>
33
<p>This specification's source can be found at <a href="https://github.com/tc39/ecma402">https://github.com/tc39/ecma402</a>.</p>
4-
<p>The ECMAScript 2026 Internationalization API Specification (ECMA-402 13<sup>th</sup> Edition), provides key language sensitive functionality as a complement to the ECMAScript 2026 Language Specification (ECMA-262 17<sup>th</sup> Edition or successor). Its functionality has been selected from that of well-established internationalization APIs such as those of the <dfn id="icu">Internationalization Components for Unicode (ICU) library</dfn> (<a href="https://unicode-org.github.io/icu-docs/">https://unicode-org.github.io/icu-docs/</a>), of the .NET framework, or of the Java platform.</p>
4+
<p>The ECMAScript 2026 Internationalization API Specification (ECMA-402 13<sup>th</sup> Edition), provides key language sensitive functionality as a complement to ECMA-262. Its functionality has been selected from that of well-established internationalization APIs such as those of the <dfn id="icu">Internationalization Components for Unicode (ICU) library</dfn> (<a href="https://unicode-org.github.io/icu-docs/">https://unicode-org.github.io/icu-docs/</a>), of the .NET framework, or of the Java platform.</p>
55
<p>The 1<sup>st</sup> Edition API was developed by an ad-hoc group established by Ecma TC39 in September 2010 based on a proposal by Nebojša Ćirić and Jungshik Shin.</p>
66
<p>The 2<sup>nd</sup> Edition API was adopted by the General Assembly of June 2015, as a complement to the ECMAScript 6<sup>th</sup> Edition.</p>
77
<p>The 3<sup>rd</sup> Edition API was the first edition released under Ecma TC39's new yearly release cadence and open development process. A plain-text source document was built from the ECMA-402 source document to serve as the base for further development entirely on GitHub. Over the year of this standard's development, dozens of pull requests and issues were filed representing several of bug fixes, editorial fixes and other improvements. Additionally, numerous software tools were developed to aid in this effort including Ecmarkup, Ecmarkdown, and Grammarkdown.</p>

0 commit comments

Comments
 (0)