raz / commit e3021fa1

commit
e3021fa107c7e3cdc73350bcb4bb6f0391278325
author
Luis <42945842+ldiaz94@users.noreply.github.com>
date
parent
06ec7fde
PROPOSALS.md: Fmt's width and E, Files, Sys for running a program, Heap.sure and the library's raz approved and done; MIN, MAX and bit counts in the report

patch · log

1 file changed, +14 -2

PROPOSALS.md modified +14 -2

@@ -1309,6 +1309,8 @@
13091309
13101310 ## A library that says which raz it was written for
13111311
1312+**Status.** Approved by the owner on 2026-10-22 and implemented: the deprecation step as policy alone, with no mark (`doc/raz-lib.md`, `README.md`); the note from a library's `RAZ-VERSION` (`Diag`, `Parse`); and `--version` naming the commit with no tag (`Makefile`).
1313+
13121314 0.19 moved the library from pointers to `var` and `const` parameters,
13131315 and every library pinned to an older raz stopped building: rnet, rjson,
13141316 rfetch, rj and arno needed fixes, and alba, clima and linia carried
@@ -1418,6 +1420,8 @@
14181420 files, processes".
14191421
14201422 ## Sys for running a program
1423+
1424+**Status.** Approved by the owner on 2026-10-22 and implemented in both `Sys` backends, all four. `spawn` also gives -13 (EACCES), as `exec` does, for a program found that can't be run.
14211425
14221426 Library growth, but two of the four change what `spawn` and `wait`
14231427 do, so they need the owner's word on whether a change of behaviour
@@ -1481,6 +1485,8 @@
14811485
14821486 ## A width in `Fmt`
14831487
1488+**Status.** Approved by the owner on 2026-10-22 and implemented in `lib/Fmt.raz`, with `lowHex` as a case of `Arg`; a width is at most four digits.
1489+
14841490 Library growth that breaks no program. `Fmt` has only `{}`, so seven
14851491 programs pad by hand: arno, rat, notis and poczta each have a
14861492 two-digit helper for times, surco writes `m:ss` and its cover files'
@@ -1534,6 +1540,8 @@
15341540 dereference).
15351541
15361542 ## The limits of an integer type: `MIN(T)` and `MAX(T)`
1543+
1544+**Status.** Approved by the owner on 2026-10-22, a twelfth thaw. In the report, 2026-10.36 (sections 4, 6.1 and 6.8); the compiler waits for the owner's review of that text.
15371545
15381546 Programs write `7FFFFFFFFFFFFFFFH` for the largest `I64` and `-10^12`
15391547 for "below anything real", and nothing ties either to its type: change
@@ -1858,7 +1866,7 @@
18581866
18591867 ## Counting bits: `CLZ`, `CTZ` and `POPCOUNT`
18601868
1861-**Status.** Proposed 2026-10-22, collated from RAZ-GAPS.md.
1869+**Status.** Approved by the owner on 2026-10-22, with `MIN` and `MAX`. In the report, 2026-10.36; the compiler waits for the owner's review of that text.
18621870
18631871 raz has `ROL` and `ROR` (report 2026-10.35) but nothing that counts
18641872 bits, so programs loop. raudio's Rice decoder finds the one bit that
@@ -2102,7 +2110,7 @@
21022110
21032111 ## Files: what programs write over Sys
21042112
2105-**Status.** Proposed 2026-10-22, collated from RAZ-GAPS.md.
2113+**Status.** Approved by the owner on 2026-10-22 and implemented in `lib/Files.raz`, all three; `Files.write` is written over `writeAll`.
21062114
21072115 Library growth that breaks no program. Each is portable, written in
21082116 `Files.raz` over procedures `Sys` already has, so neither backend nor
@@ -2331,6 +2339,8 @@
23312339
23322340 ### One exponent letter: `Fmt` writes `E`
23332341
2342+**Status.** Approved by the owner on 2026-10-22 and implemented in `lib/Fmt.raz`.
2343+
23342344 A change to output. `Fmt.real` writes `1.50e17`; the language reads a
23352345 real's exponent as `E` only (report section 2), so a value a program
23362346 prints can't be pasted into code (rayo). `Math.toReal` reads both.
@@ -2351,6 +2361,8 @@
23512361 **Status.** Proposed 2026-10-22, collated from RAZ-GAPS.md.
23522362
23532363 ### An allocator that stops when memory runs out: `Heap.sure`
2364+
2365+**Status.** Approved by the owner on 2026-10-22 and implemented in `lib/Heap.raz`.
23542366
23552367 Library growth that breaks no program. `Buf` and `Vec` stop the program
23562368 when the allocator has no room; `NEW(p, Heap.heap)` and `Mem.alloc`