Skip to content

RiverFlow RF² 0.14: Unicode text and deferred cleanup

Choose a tag to compare

@starkfiber starkfiber released this 12 Nov 07:21
· 426 commits to main since this release

Readable native programming now includes Unicode scalar views and automatic deferred close attempts.

  • textview validates the selected byte span as strict UTF-8. .byte_length counts bytes, .length counts Unicode scalars, and indexing returns scalar values. Immutable nonescaping view rules remain.
  • Function-level defer close(expression) captures once and attempts closure on ordinary scalar/typed returns and fallthrough, preserving return values.
  • New rf2-unicode-lines app processes multilingual documents, recovers from malformed/oversized rows, counts scalars and Tamil-block values, and uses deferred named-file cleanup. Stdin stays borrowed.
  • 686 Unicode-view checks, 52 cleanup probes and 332 real application checks passed in default and optimized modes. Three actual agent tasks authored probes, reviewed contracts and implemented the independently checked app.
  • Fixed an incorrect native shift/error string in the first candidate and a maximum-index collision found in further review. Failures retained in local evidence.
  • All 24 previous regression/SDK qualification records, native compiler fixed-point, prior 158 adversarial result/view cases and clean extracted package checks passed. Nine bounded MCP tool schemas remain unchanged.
  • Book updated to 27 chapters and 82 pages, PDF and EPUB included.

Apple Silicon macOS binaries need no Node, npm or Python for users. Unicode scalars are not grapheme clusters; no normalization or constant-time indexing is claimed. Deferred close is best effort on ordinary returns, not linear ownership or cleanup on fatal traps, exit or signals. Raw descriptor early-close/reuse remains unsafe. No new speed, token-saving, energy or hardware claim.

Contract and reproducible receipts: docs/UNICODE-CLEANUP.md and docs/RELEASE-0.14-VERIFICATION.json.