Skip to main content

Jun 2025 (v0.9.0)

Mochi v0.9.0 ships the first official standard library. Core utilities for math, strings, time and collections are now provided as regular packages under the std/ namespace. The CLI can autoload these modules and extract documentation from them, improving developer ergonomics.

Standard Library

  • std/ namespace for all built‑in packages
  • New packages: std/math, std/strings, std/time, std/list, std/set, std/uuid, std/fmt and std/test
  • Functions are explicitly exported and imported by name
  • Documentation embedded in each module and retrievable via the CLI

Tooling

  • CLI autoload support for standard library packages
  • Documentation extraction commands for package modules

Tests

  • Comprehensive tests covering standard library APIs

Fixes

  • Miscellaneous bug fixes in package imports and built‑in functions