| | @@ -1309,6 +1309,8 @@ |
| 1309 | 1309 | |
| 1310 | 1310 | ## A library that says which raz it was written for |
| 1311 | 1311 | |
| 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 | + |
| 1312 | 1314 | 0.19 moved the library from pointers to `var` and `const` parameters, |
| 1313 | 1315 | and every library pinned to an older raz stopped building: rnet, rjson, |
| 1314 | 1316 | rfetch, rj and arno needed fixes, and alba, clima and linia carried |
| | @@ -1418,6 +1420,8 @@ |
| 1418 | 1420 | files, processes". |
| 1419 | 1421 | |
| 1420 | 1422 | ## 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. |
| 1421 | 1425 | |
| 1422 | 1426 | Library growth, but two of the four change what `spawn` and `wait` |
| 1423 | 1427 | do, so they need the owner's word on whether a change of behaviour |
| | @@ -1481,6 +1485,8 @@ |
| 1481 | 1485 | |
| 1482 | 1486 | ## A width in `Fmt` |
| 1483 | 1487 | |
| 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 | + |
| 1484 | 1490 | Library growth that breaks no program. `Fmt` has only `{}`, so seven |
| 1485 | 1491 | programs pad by hand: arno, rat, notis and poczta each have a |
| 1486 | 1492 | two-digit helper for times, surco writes `m:ss` and its cover files' |
| | @@ -1534,6 +1540,8 @@ |
| 1534 | 1540 | dereference). |
| 1535 | 1541 | |
| 1536 | 1542 | ## 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. |
| 1537 | 1545 | |
| 1538 | 1546 | Programs write `7FFFFFFFFFFFFFFFH` for the largest `I64` and `-10^12` |
| 1539 | 1547 | for "below anything real", and nothing ties either to its type: change |
| | @@ -1858,7 +1866,7 @@ |
| 1858 | 1866 | |
| 1859 | 1867 | ## Counting bits: `CLZ`, `CTZ` and `POPCOUNT` |
| 1860 | 1868 | |
| 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. |
| 1862 | 1870 | |
| 1863 | 1871 | raz has `ROL` and `ROR` (report 2026-10.35) but nothing that counts |
| 1864 | 1872 | bits, so programs loop. raudio's Rice decoder finds the one bit that |
| | @@ -2102,7 +2110,7 @@ |
| 2102 | 2110 | |
| 2103 | 2111 | ## Files: what programs write over Sys |
| 2104 | 2112 | |
| 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`. |
| 2106 | 2114 | |
| 2107 | 2115 | Library growth that breaks no program. Each is portable, written in |
| 2108 | 2116 | `Files.raz` over procedures `Sys` already has, so neither backend nor |
| | @@ -2331,6 +2339,8 @@ |
| 2331 | 2339 | |
| 2332 | 2340 | ### One exponent letter: `Fmt` writes `E` |
| 2333 | 2341 | |
| 2342 | +**Status.** Approved by the owner on 2026-10-22 and implemented in `lib/Fmt.raz`. |
| 2343 | + |
| 2334 | 2344 | A change to output. `Fmt.real` writes `1.50e17`; the language reads a |
| 2335 | 2345 | real's exponent as `E` only (report section 2), so a value a program |
| 2336 | 2346 | prints can't be pasted into code (rayo). `Math.toReal` reads both. |
| | @@ -2351,6 +2361,8 @@ |
| 2351 | 2361 | **Status.** Proposed 2026-10-22, collated from RAZ-GAPS.md. |
| 2352 | 2362 | |
| 2353 | 2363 | ### 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`. |
| 2354 | 2366 | |
| 2355 | 2367 | Library growth that breaks no program. `Buf` and `Vec` stop the program |
| 2356 | 2368 | when the allocator has no room; `NEW(p, Heap.heap)` and `Mem.alloc` |