Skip to content
Beskid The Beskid Book

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

16. Corelib: batteries with opinions

The standard library is injected, opinionated, and documented through api.json—not a grab bag of copy-pasted helpers.

Corelib: batteries with opinions

The corelib package is not “stdlib.zip you found on a forum.” The compiler injects it, the runtime backs part of it, and pckg serves the rest as a normal package—with registry-assigned versions so nobody plays semver theatre in Project.proj.

If you expected a monolithic System.IO graveyard, adjust expectations now.

SectionTopic
corelib commandMaterialize the embedded template with beskid corelib.
Injection and resolutionHow every project gets the same canonical package.
Terminal and consoleANSI, streams, and why console is not syscall soup.
Doc and api.jsonbeskid doc, structured API, and pckg docs UI.
Runtime-backed surfacesWhat must call through the runtime vs pure Beskid.
flowchart LR
  CLI[beskid CLI] --> inj[Corelib injection]
  inj --> src[beskid_corelib sources]
  src --> doc[beskid doc / api.json]
  doc --> pckg[pckg registry docs]
  runtime[beskid_runtime] --> src

17. Execution: ABI, host, and runtime