raz / commit f6b55642

commit
f6b5564210d9a1cad4df73eb3f0b23b00e2c6597
author
Luis <42945842+ldiaz94@users.noreply.github.com>
date
parent
5b2189a8
release
v0.16.0
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.

patch · log

3 files changed, +16 -9

CLAUDE.md modified +9 -5

@@ -80,11 +80,11 @@
8080
8181 ## Where things stand
8282
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
8888 compiler in raz, built by itself (Self, done); the seed in `seed/` is
8989 frozen, and v0.9.1 was the last release it built. The compiler takes
9090 1.4 times the Pascal one's time; `make kernels` measures `test/bench`
@@ -226,6 +226,10 @@
226226 (10), and isn't caught.
227227 - `Buf.add`, `str` and `spare`, and `Vec`'s growing, stop the program
228228 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.
229233 - An `extern` module variable is read-only for an importer, as the
230234 report says of every exported variable (3).
231235 - Warnings come only for a module with no errors. A procedure naming

README.md (history) modified +4 -4

@@ -201,16 +201,16 @@
201201 The compiler says its own version and that of the report it follows:
202202
203203 $ ./raz --version
204- raz 0.15.0, report 2026-10.27
204+ raz 0.16.0, report 2026-10.29
205205
206206 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.
208208 To release, check `main` and tag it; the tag's message is what
209209 `raz --version` will print:
210210
211211 $ 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
214214
215215 GitHub then builds and checks the tag, and makes a release of it with
216216 a tarball of `raz`, its `lib/` and its manual pages, made by `make

doc/raz.7 (history) modified +3 -0

@@ -334,6 +334,8 @@
334334 a record with its other fields zero, where the type is known;
335335 .Cm "{red, blue}" ,
336336 a set.
337+.Cm "const Weekend: []Day = [sat, sun];"
338+takes its length from its literal [4].
337339 .El
338340 .Sh CONVERSIONS
339341 [6.7] A type's name converts:
@@ -519,6 +521,7 @@
519521 returns several results.
520522 Returning a slice of a local array, of a value parameter, or of an
521523 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].
522525 A procedure is a value of its type,
523526 .Cm "proc(a, b: INT): BOOL" ,
524527 or nil.