Skip to content

docs: one md per corelib module (docs/corelib/*.md), indexed from LANGUAGE.md - #155

Merged
assapir merged 2 commits into
mainfrom
docs-corelib-split
Aug 21, 2026
Merged

docs: one md per corelib module (docs/corelib/*.md), indexed from LANGUAGE.md#155
assapir merged 2 commits into
mainfrom
docs-corelib-split

Conversation

@assapir

@assapir assapir commented Aug 21, 2026

Copy link
Copy Markdown
Owner

Split the stdlib/library API reference out of docs/LANGUAGE.md into one markdown file per corelib module, indexed from LANGUAGE.md. Docs-only, faithful move — no behavior change.

What moved out of LANGUAGE.md

The per-module library API reference sections, relocated verbatim (lightly reformatted per file):

  • docs/corelib/io.mdcore.io: print / eprint / write, stdout / stderr, @readStdin (was "## I/O — << core.io").
  • docs/corelib/test.mdcore.test: assert / AssertOpts / assertEq / assertNotEq / assertOk / assertNotOk (was "## Assertions — << core.test").
  • docs/corelib/cli.mdcore.cli: getEnv / hasFlag / getOpt (was "## CLI helpers — << core.cli").
  • docs/corelib/time.mdcore.time: @sleep / now (its API reference; the source was the "runnable today" paragraph woven into the concurrency section).

What stayed in LANGUAGE.md

The language reference: syntax, types, semantics, the concurrency / colorless-implicit-futures model (language semantics — the @sleep/@readStdin narrative that illustrates the model stays), the entry point, and the feature matrix. LANGUAGE.md gains a concise "Standard library" index section with a one-line description + link to each docs/corelib/*.md, and the Modules bullet now points at that index.

Links

Every docs/corelib/*.md link from LANGUAGE.md resolves; corelib files link back with ../LANGUAGE.md#anchor (all anchors verified against real headings); no dangling references left behind (README / other docs unaffected).

PARKED — do not merge without explicit approval.

🤖 Generated with Claude Code

assapir and others added 2 commits August 21, 2026 15:24
Move the per-module stdlib API reference (core.io, core.test, core.cli,
core.time) out of docs/LANGUAGE.md into one focused file per module under
docs/corelib/, indexed from a new "Standard library" section in LANGUAGE.md.
LANGUAGE.md keeps the language reference (syntax, types, semantics incl. the
concurrency/deferred-values model, feature matrix). Docs-only; faithful move.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- ROADMAP.md: concurrency link used `-planned`; the heading anchor is
  `-in-progress`.
- corelib io.md/test.md: the render-operator heading ends in `(`)`, so its
  GitHub anchor carries a trailing hyphen; the links were missing it (a latent
  bug pre-dating the corelib split, carried over in the faithful move).

Verified with github-slugger: all 14 LANGUAGE.md#anchor links across docs/ resolve.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@assapir
assapir force-pushed the docs-corelib-split branch from 94be66d to de21b84 Compare August 21, 2026 12:25
@assapir
assapir merged commit 90567b3 into main Aug 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant