raz / commit d136d0aa

commit
d136d0aac9a3a305d468322c45275e847c0344ee
author
Luis <42945842+ldiaz94@users.noreply.github.com>
date
parent
e33d4214
raz.md: 2026-10.37's paragraph in the opening, whole: SYSTEM was left out

patch · log

1 file changed, +15 -12

doc/raz.md (history) modified +15 -12

@@ -62,18 +62,21 @@
6262 parameter's slice returned (section 7.3); and a procedure type's
6363 parameter or result may name a type declared later in its `type`
6464 section (sections 4 and 5.9); it breaks no program.
65-2026-10.37 mends a defect: an array a call returns, or a record or
66-variant holding one, lives to the end of the procedure the call is in,
67-not of its statement, so a slice of it may be kept (section 8); and
68-`CAS`, `XCHG` and `XADD` take the variable they work on, not a pointer
69-to it (section 6.8). It breaks a program that gives them a pointer;
70-this compiler, raz 0.23, still takes one that isn't a variable,
71-`ADR(x)` say, as before. And `[]const T` is a slice whose elements
72-can't be written through it (section 5.3), which a string literal, a
73-slice of a constant, `MSG` and a slice of a `const` parameter's array
74-are (sections 4, 5.10, 6.8 and 8). It breaks a program that writes
75-through one of these; raz 0.23 still gives them their old types, as
76-`[]U8` and `[]T`, until 0.24.
65+2026-10.37 is a thirteenth thaw, for safety. It mends a defect: an
66+array a call returns, or a record or variant holding one, lives to the
67+end of the procedure the call is in, so a slice of it may be kept
68+(section 8). `CAS`, `XCHG` and `XADD` take the variable they work on
69+(section 6.8). `[]const T` is a slice whose elements can't be written
70+through it, which a string literal, a slice of a constant, `MSG` and a
71+slice of a `const` parameter's array are (sections 4, 5.3, 5.10, 6.8
72+and 8). And `import SYSTEM` is what a module says to reach memory
73+other than through its variables: `SYSTEM.ADR`, `SYSTEM.PTR`,
74+`SYSTEM.SYSCALL` and `SYSTEM.ARGV`, a pointer's arithmetic and
75+conversions, C, code procedures and `check off;` (section 3); section
76+10 says what is left undefined outside such modules. It breaks a
77+program that gives an atomic a pointer, writes through a string or a
78+constant, or does what `SYSTEM` holds without importing it; raz 0.23
79+still takes all of these as before, until 0.24.
7780
7881 The language is frozen, softly, from this version on: it changes only
7982 to mend a defect, and its library grows only by what breaks no program