Home /Modules/api/SESSION-ADDITIONS-API.md

SESSION-ADDITIONS-API.md

api/sleela/3.0/SESSION-ADDITIONS-API.md · 56 line(s) · markdown

SLeeLa 3.0 API — session additions

A focused index of the API-visible additions made in this working session, documented against the SLeeLa 3.0 edition. The generated HTML surfaces (sleeladoc-api/, docs/api/, api/sleela/3.0/version-014/) were regenerated from the live /lib tree and now include every new source unit below; this page also records the language-level additions that are specified in SLEELA.syntax rather than as a /lib class, which the generator cannot infer.

1. Loop-timing annotations and the sleep built-in (language)

@loopDelay / @loopBudget pace a for / while / do loop, and sleep(ms) blocks the current thread anywhere.

2. Native big-integer multiply (OP_BIGMUL / SLBigInteger.multiply)

A native base-1e9 limb-array multiply bridged to the VM as OP_BIGMUL (ISA index 156), with the larger SL_MAX_ARRAY_LEN ceiling (2^24) that lets a multi-million-limb number fit in a single array.

3. Standalone tools (repository top level, outside /lib)

These are complete programs/folders, not /lib library packages, so they are documented by their own READMEs rather than the SleelaDoc package pages:

Generated API surfaces

All three HTML surfaces are produced from the same /lib inventory by tools/generate-sleeladoc-api.py (make api-docs) and were rebuilt this session:

SurfaceEntry point
Live SleelaDoc sitesleeladoc-api/index.html
Contributor sitedocs/api/index.html
Immutable 3.0 snapshotapi/sleela/3.0/version-014/index.html