Broiler.ECMAScript.Algorithms
0.1.0-preview.4
See the version list below for details.
dotnet add package Broiler.ECMAScript.Algorithms --version 0.1.0-preview.4
NuGet\Install-Package Broiler.ECMAScript.Algorithms -Version 0.1.0-preview.4
<PackageReference Include="Broiler.ECMAScript.Algorithms" Version="0.1.0-preview.4" />
<PackageVersion Include="Broiler.ECMAScript.Algorithms" Version="0.1.0-preview.4" />
<PackageReference Include="Broiler.ECMAScript.Algorithms" />
paket add Broiler.ECMAScript.Algorithms --version 0.1.0-preview.4
#r "nuget: Broiler.ECMAScript.Algorithms, 0.1.0-preview.4"
#:package Broiler.ECMAScript.Algorithms@0.1.0-preview.4
#addin nuget:?package=Broiler.ECMAScript.Algorithms&version=0.1.0-preview.4&prerelease
#tool nuget:?package=Broiler.ECMAScript.Algorithms&version=0.1.0-preview.4&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) and the Date area of milestone SJL-6 (Broiler.ECMAScript.Time; 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/. |
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.")
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
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".)
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 (8)
Showing the top 5 NuGet packages that depend on Broiler.ECMAScript.Algorithms:
| Package | Downloads |
|---|---|
|
Broiler.JavaScript.Expressions
Broiler.JS backend-neutral expression model: BExpression nodes, converters, and the contracts shared by the JavaScript compiler and its execution back ends. |
|
|
Broiler.JavaScript.Storage
Broiler.JS property storage primitives: the property keys and property storage shared by the runtime and the engine. |
|
|
Broiler.JavaScript.Ast
Broiler.JS JavaScript syntax tree: the expression, statement, pattern, and misc AST nodes the parser produces and the compiler consumes, with the Unicode tables and the regular-expression pattern checks the parser and the built-ins share. |
|
|
Broiler.JavaScript.Runtime
Broiler.JS runtime values: JSValue, Arguments, the value factories, and the runtime conversion helpers every layer above depends on. |
|
|
Broiler.JavaScript.Parser
Broiler.JS JavaScript source parsing: FastParser and the parser primitives that produce AST structures. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.13 | 52 | 11/28/2026 |
| 0.1.0-preview.12 | 118 | 11/16/2026 |
| 0.1.0-preview.11 | 1,058 | 11/13/2026 |
| 0.1.0-preview.10 | 456 | 11/4/2026 |
| 0.1.0-preview.9 | 485 | 11/3/2026 |
| 0.1.0-preview.8 | 915 | 10/29/2026 |
| 0.1.0-preview.7 | 155 | 10/19/2026 |
| 0.1.0-preview.6 | 104 | 10/18/2026 |
| 0.1.0-preview.5 | 142 | 10/17/2026 |
| 0.1.0-preview.4 | 121 | 10/15/2026 |
| 0.1.0-preview.3 | 96 | 10/15/2026 |
| 0.1.0-preview.2 | 84 | 10/14/2026 |
| 0.1.0-preview.1 | 87 | 10/13/2026 |