Tidy for v0.16.0: README's versions, raz(7), CLAUDE.md raz(7) says an array a call returns lives to its statement's end, and that an array constant typed []T takes its literal's length; CLAUDE.md the release and the reading of Sys.handle.
| @@ -80,11 +80,11 @@ | ||
| 80 | 80 | |
| 81 | 81 | ## Where things stand |
| 82 | 82 | |
| 83 | -v0.15.0, report 2026-10.27 (a slice of the frame returned is an | |
| 84 | -error; `Sys`'s `openMode`, `syncAll`, `lock`, `linkInfo` and | |
| 85 | -`Info.ino`; `Buf.spare`, and `Buf` stopping when out of memory; `Vec`, | |
| 86 | -a growable array), what porting sauce asked for, is the latest | |
| 87 | -release. `src/` is the | |
| 83 | +v0.16.0, report 2026-10.29 (an array a call returns lives to its | |
| 84 | +statement's end; an array constant typed `[]T` takes its literal's | |
| 85 | +length; `Sys` gains what a shell needs, among it `fork`, `exec`, | |
| 86 | +`handle` and `came`; `Map.done`, `Str.free`, `Files.load`), what | |
| 87 | +porting concha asked for, is the latest release. `src/` is the | |
| 88 | 88 | compiler in raz, built by itself (Self, done); the seed in `seed/` is |
| 89 | 89 | frozen, and v0.9.1 was the last release it built. The compiler takes |
| 90 | 90 | 1.4 times the Pascal one's time; `make kernels` measures `test/bench` |
| @@ -226,6 +226,10 @@ | ||
| 226 | 226 | (10), and isn't caught. |
| 227 | 227 | - `Buf.add`, `str` and `spare`, and `Vec`'s growing, stop the program |
| 228 | 228 | when the allocator has no room; `room` asks first. |
| 229 | +- `Sys.handle`'s handler only notes the signal, with `XCHG`; it is | |
| 230 | + installed without `SA_RESTART`, so a call it breaks into is -4, which | |
| 231 | + `Out` and `Files` try again. Over C, `ready` and `readyFor` try `poll` | |
| 232 | + again after EINTR only when no signal `handle` took broke in. | |
| 229 | 233 | - An `extern` module variable is read-only for an importer, as the |
| 230 | 234 | report says of every exported variable (3). |
| 231 | 235 | - Warnings come only for a module with no errors. A procedure naming |
| @@ -201,16 +201,16 @@ | ||
| 201 | 201 | The compiler says its own version and that of the report it follows: |
| 202 | 202 | |
| 203 | 203 | $ ./raz --version |
| 204 | - raz 0.15.0, report 2026-10.27 | |
| 204 | + raz 0.16.0, report 2026-10.29 | |
| 205 | 205 | |
| 206 | 206 | The compiler's version is git's name for the commit it was built from: |
| 207 | -`0.15.0` at the tag `v0.15.0`, `0.15.0-5-g38d29a8` five commits past it. | |
| 207 | +`0.16.0` at the tag `v0.16.0`, `0.16.0-5-g38d29a8` five commits past it. | |
| 208 | 208 | To release, check `main` and tag it; the tag's message is what |
| 209 | 209 | `raz --version` will print: |
| 210 | 210 | |
| 211 | 211 | $ make check |
| 212 | - $ git tag -a v0.15.0 -m 'raz 0.15.0, report 2026-10.27' | |
| 213 | - $ git push origin v0.15.0 | |
| 212 | + $ git tag -a v0.16.0 -m 'raz 0.16.0, report 2026-10.29' | |
| 213 | + $ git push origin v0.16.0 | |
| 214 | 214 | |
| 215 | 215 | GitHub then builds and checks the tag, and makes a release of it with |
| 216 | 216 | a tarball of `raz`, its `lib/` and its manual pages, made by `make |
| @@ -334,6 +334,8 @@ | ||
| 334 | 334 | a record with its other fields zero, where the type is known; |
| 335 | 335 | .Cm "{red, blue}" , |
| 336 | 336 | a set. |
| 337 | +.Cm "const Weekend: []Day = [sat, sun];" | |
| 338 | +takes its length from its literal [4]. | |
| 337 | 339 | .El |
| 338 | 340 | .Sh CONVERSIONS |
| 339 | 341 | [6.7] A type's name converts: |
| @@ -519,6 +521,7 @@ | ||
| 519 | 521 | returns several results. |
| 520 | 522 | Returning a slice of a local array, of a value parameter, or of an |
| 521 | 523 | array literal is an error: the frame it points into is gone [7.3]. |
| 524 | +An array a call returns lives to the end of its statement [8]. | |
| 522 | 525 | A procedure is a value of its type, |
| 523 | 526 | .Cm "proc(a, b: INT): BOOL" , |
| 524 | 527 | or nil. |