Broiler.ECMAScript.Generation
0.1.0-preview.7
See the version list below for details.
dotnet add package Broiler.ECMAScript.Generation --version 0.1.0-preview.7
NuGet\Install-Package Broiler.ECMAScript.Generation -Version 0.1.0-preview.7
<PackageReference Include="Broiler.ECMAScript.Generation" Version="0.1.0-preview.7" />
<PackageVersion Include="Broiler.ECMAScript.Generation" Version="0.1.0-preview.7" />
<PackageReference Include="Broiler.ECMAScript.Generation" />
paket add Broiler.ECMAScript.Generation --version 0.1.0-preview.7
#r "nuget: Broiler.ECMAScript.Generation, 0.1.0-preview.7"
#:package Broiler.ECMAScript.Generation@0.1.0-preview.7
#addin nuget:?package=Broiler.ECMAScript.Generation&version=0.1.0-preview.7&prerelease
#tool nuget:?package=Broiler.ECMAScript.Generation&version=0.1.0-preview.7&prerelease
Broiler.ECMAScript — the shared JavaScript libraries
Libraries that implement parts of the ECMAScript specification once, for both Broiler JavaScript engines: Broiler.JS, the reference engine in this repository, and Broiler.VM's JavaScript profile. They name neither engine and reference neither. Each engine calls them through an adapter of its own, and each keeps its own values, objects, execution and resource policy.
The programme that creates them is owned in the Broiler.VM repository, under
Broiler.VM/docs/javascript-shared-libraries/. This repository's half of it is
docs/roadmap/SharedLibraries.md.
Packages
| Package | Holds | State |
|---|---|---|
Broiler.ECMAScript.Algorithms |
The language algorithms: number conversion, numerics, text, Date, the Temporal core, the time-zone algorithms. References the base class library only, and carries no data but the white-space set's generated Space_Separator table. |
The contract types (WorkCharge, ResultStatus, Failure, LengthLimit, DepthLimit), the number-conversion area of milestone SJL-3 (Broiler.ECMAScript.Numbers; adapter guide), the numerics area of milestone SJL-4 (the same namespace; adapter guide) , the text area of milestone SJL-5 (Broiler.ECMAScript.Text; adapter guide), the Date area of milestone SJL-6 (Broiler.ECMAScript.Time; adapter guide), the time-zone and calendar area of milestone SJL-8, the decoder of the data home's tables over the bytes an engine hands in, the zone algorithms and the table-backed calendars' years (the same namespace; adapter guide) and the Temporal core of milestone SJL-10.3: its records and limits, balancing, grammar and serialization (part A), its calendars, the identifiers, the formula calendars and the table calendars over those years, month codes, eras, reference years, and calendar addition and difference (part B), and its durations, rounding and differences, with and without relativeTo, over calendar and time-zone providers (part C) (Broiler.ECMAScript.Temporal; adapter guide). |
Broiler.ECMAScript.Conformance |
The shared conformance vectors' reader, validator and runners. Test-only. | Not packed at this version; the corpus itself is conformance/vectors/. |
Broiler.ECMAScript.Generation |
The time data home's generator: the tz, CLDR and calendar pin readers, a tz compiler equivalent to zic, the compact time zone and calendar tables, and source writers that wrap them into C#. Test-only, as Broiler.Unicode.Generation is: engines' tests run it, and it carries no table. |
The time data home of milestone SJL-8.2 (Broiler.ECMAScript.Generation.Time), ported from Broiler.VM's architecture tests; its inputs and tables are data/time/. Not yet published. |
Further libraries (the frontend, Intl, further data generators) are added by the milestones that create them. (Revised 2026-10-17, at milestone SJL-8.2, when the generator's row was added; the sentence read "Further libraries (the frontend, Intl, the data generators) are added by the milestones that create them.")
Pins
- Specification: the ECMA-262 commit
conformance/vectors/sources/ecma262.pinnames. - Unicode: the version
conformance/vectors/sources/unicode.pinnames. - Data: the white-space set's
Space_Separatormembers, Unicode 17.0.0 (NumberParsing.UnicodeVersion), generated into the algorithms library from the pinnedPropList.txt, which the number area's design places there. The data areas of SJL-7 onward ship no data in a shared package (decision SJL-D-6 (c)); each engine embeds the tables a shared generator writes. (Revised 2026-10-12, at SJL-3.3. The bullet read: "Data: none. No shared package carries data (decision SJL-D-6 (c)); each engine embeds the tables a shared generator writes.") - Time data: IANA tzdb 2026e, CLDR 48.2.0's time zone keys, and ICU4X's
icu_calendar2.3.0 andcalendrical_calculations0.2.4 (TimeDataVersions), pinned indata/time/as copies of Broiler.VM's pins, with the tablesBroiler.ECMAScript.Generationwrites from them. No package carries them; rule SL7 regenerates the tables byte for byte. (Added 2026-10-17, at SJL-8.2.) - Temporal:
tc39/proposal-temporal@e8cc03fc, the revision both engines follow (Broiler.VM's JSD-0078, decision D1); where its text and its polyfill disagree, the text rules (decision D7). (Added 2026-10-18, at SJL-10.3.)
Conventions
Every public API follows the conventions: neutral types, failure as data, a
caller's meter charged before the work, explicit limits, determinism, no mutable statics, no
dynamic code, no I/O, no platform globalization or regular expressions, Native AOT and trimming
with no warning suppressed, and an XML documentation comment citing the clause each member
implements. The rules that decide them, SL1 to SL10, run in
Broiler.ECMAScript.Architecture.Tests.
Building
dotnet build Broiler.ECMAScript.slnf -c Release
dotnet test Broiler.ECMAScript.slnf -c Release
# The Native AOT probe, with Broiler.VM's root settings, over the whole corpus:
dotnet publish Broiler.ECMAScript/Broiler.ECMAScript.Probe -c Release -r linux-x64
# The time data home's zone table against the host's zic (where zic is installed):
python3 -I Broiler.ECMAScript/data/time/tzdb/check-zic.py
Versions
The shared packages have their own version stream, tag prefix (ecmascript-v) and changelog
(CHANGELOG.md), apart from the engine's (decision SJL-D-3). See
docs/publishing.md.
Consumers
| Engine | Consumes | Since |
|---|---|---|
| Broiler.JS | Broiler.ECMAScript.Algorithms, by project reference, from its parser, runtime, built-ins and storage |
milestone SJL-3.5 |
| Broiler.VM | Broiler.ECMAScript.Algorithms 0.1.0-preview.3, through its committed feed, from its profile and its compiler |
milestone SJL-3.4 |
(Corrected 2026-10-13, at milestone SJL-4.3, for the SJL-3 cut-overs. The rows read "| Broiler.JS | nothing yet | — |" and "| Broiler.VM | nothing in a product project; the probe package, test-only, through its committed feed | milestone SJL-2 |"; the package table's state for the algorithms library read "The contract types (...) and the number-conversion area of milestone SJL-3 (...)".)
(Corrected 2026-10-14, at milestone SJL-5.3, for the text area and the version Broiler.VM pins since
SJL-4. The package table's state for the algorithms library read "..., the number-conversion area of
milestone SJL-3 (...) and the numerics area of milestone SJL-4 (...)", and the Broiler.VM row read
"Broiler.ECMAScript.Algorithms 0.1.0-preview.1".)
(Corrected 2026-10-15, at milestone SJL-6.3, for the Date area and the version Broiler.VM pins since
SJL-5. The package table's state for the algorithms library read "..., the numerics area of milestone
SJL-4 (...) and the text area of milestone SJL-5 (...)", and the Broiler.VM row read
"Broiler.ECMAScript.Algorithms 0.1.0-preview.2".)
(Corrected 2026-10-18, at milestone SJL-10.3, part C, for the Temporal durations, rounding and differences. The package
table's state for the algorithms library read "... and its calendars, the identifiers, ..., and calendar addition and
difference (part B) (Broiler.ECMAScript.Temporal; ...)", with "its records and limits, ... (part A)," before it.)
(Corrected 2026-10-18, at milestone SJL-10.3, part B, for the Temporal calendars. The package table's state for the algorithms library read "..., the Date area of milestone SJL-6 (...) and the time-zone and calendar area of milestone SJL-8, ... (the same namespace; ...)".)
(Corrected 2026-10-17, at milestone SJL-8.3, for the time-zone and calendar area. The package table's state for the algorithms library read "..., the text area of milestone SJL-5 (...) and the Date area of milestone SJL-6 (...)".)
(Corrected 2026-10-18, at milestone SJL-10.3, for the Temporal core's first part. The package table's state for the algorithms library read "..., the Date area of milestone SJL-6 (...) and the time-zone and calendar area of milestone SJL-8, ... (the same namespace; adapter guide)".)
Licence
Apache-2.0. Ported code records its origin; no share-alike or unclear-licence code enters. See
THIRD_PARTY_NOTICES.md.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.12 | 54 | 11/16/2026 |
| 0.1.0-preview.11 | 210 | 11/13/2026 |
| 0.1.0-preview.10 | 149 | 11/4/2026 |
| 0.1.0-preview.9 | 139 | 11/3/2026 |
| 0.1.0-preview.8 | 227 | 10/29/2026 |
| 0.1.0-preview.7 | 75 | 10/19/2026 |
| 0.1.0-preview.6 | 79 | 10/18/2026 |
| 0.1.0-preview.5 | 106 | 10/17/2026 |