Skip to content

Flecha v0.2.0

Choose a tag to compare

@segfaultcafe segfaultcafe released this 20 Oct 14:26
· 667 commits to master since this release
36f6fe6

Flecha 0.2.0 is a major language and standard-library release centered on first-class callable values, explicit ownership, and production-ready tooling.

Highlights

  • Added named callable values, captureless and capturing closures, generic callable signatures, and single-use once callables.
  • Added owned, borrowed, and raw-resource capture semantics with compile-time enforcement and exactly-once cleanup.
  • Extended defer to support callable values and member invocations, including move-only arguments.
  • Added scoped module visibility and expanded compiler diagnostics with stable messages and precise source ranges.
  • Added first-class language tests through Flecha and Longbow.
  • Added callback algorithms including find_if, fold, for_each, and sort_by.
  • Expanded safe and raw array APIs, filesystem operations, and file-stream support.
  • Added focused examples for callables, once callables, callback algorithms, defer, and reference/slice returns.
  • Expanded Linux, Windows, Intel macOS, and ARM macOS release smoke coverage for the newest callable semantics.

The release workflow will attach verified platform archives, the VS Code extension package, and checksums to this release.