raz / commit d9913064

commit
d9913064c3f67aec82b320b12d624d526bdf432b
author
Luis <42945842+ldiaz94@users.noreply.github.com>
date
parent
9e477ea4
Report 2026-10.11, approved

The draft becomes the report's version; the compiler still follows
2026-10.10 until the plan's steps build it. CLAUDE.md: the thaw, and
the readings it changes (extern int consts as INT, min / -1 for every
signed type).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

patch · log

2 files changed, +11 -9

CLAUDE.md modified +6 -3

@@ -76,7 +76,9 @@
7676 **The freeze.** Since v0.5.0 the language changes only to mend a
7777 defect, and the library grows only by what breaks no program written
7878 for it. A wish for more, the owner's or yours, goes on the list in
79-`PLAN.md`, for a later thaw; it isn't built. Keep
79+`PLAN.md`, for a later thaw; it isn't built. v0.6.0 is such a thaw,
80+by the owner's word: report 2026-10.11, approved, which the compiler
81+is being brought to follow (`PLAN.md`). Keep
8082 `doc/compiler.md`'s table of lines and its routine names true when the
8183 compiler changes.
8284
@@ -128,7 +130,7 @@
128130 program the entry point stores C's `exit` in `Rt.cExit`, found by
129131 name like `Rt.exit`, before any module body runs.
130132 - Past an extern's parameters, a string goes as a C string and an
131- integer constant as an `I64`.
133+ integer constant as an `INT` (an `I64` until 2026-10.11 is built).
132134 - A real constant is held as an F64; one typed `F32` holds a value an
133135 F32 can hold. An `F32` in a register is its low 32 bits; the upper
134136 ones are left as they fall.
@@ -141,7 +143,8 @@
141143 the main thread, and one in each `Thread` thread's mapping. C's
142144 threads have none, so a stack overflow in one ends the program by
143145 the signal with no message.
144-- The smallest `I64` divided by -1 traps (SIGFPE), as 6.1 says.
146+- The smallest value of a signed type divided by -1 stops the program
147+ (SIGFPE), as 6.1 says; until 2026-10.11 is built, only `I64`'s does.
145148 - Warnings come only for a module with no errors. A procedure naming
146149 itself doesn't use it; a type named by a pointer in its own
147150 declaration does. An enumeration's names are never warned of, nor a

doc/raz.md (history) modified +5 -6

@@ -9,11 +9,10 @@
99 This report defines the language. It is short on purpose. Whatever it
1010 doesn't allow, raz doesn't have.
1111
12-This is version 2026-10.10 of the report; section 12 says what each
13-version changed. Version 2026-10.11, written into it, is a draft for
14-review: the compiler doesn't follow it yet. It is a thaw the owner
15-chose, for a language anyone can build again, and it breaks programs
16-written for 2026-10.10.
12+This is version 2026-10.11 of the report; section 12 says what each
13+version changed. It is a thaw the owner chose, for a language anyone
14+can build again, and it breaks programs written for 2026-10.10. The
15+compiler doesn't follow it yet: it still follows 2026-10.10.
1716
1817 The language is frozen, softly, from this version on: it changes only
1918 to mend a defect, and its library grows only by what breaks no program
@@ -1676,7 +1675,7 @@
16761675 2); a slice of a pointer can't run backwards (section 6.4). Ordinary
16771676 accesses are no longer promised to be made exactly as written, only
16781677 volatile and atomic ones (section 7.6).
1679-- **2026-10.11, a draft for review.** `INT` and `UINT`, as big as an
1678+- **2026-10.11.** `INT` and `UINT`, as big as an
16801679 address, are the integers of lengths, slices, pointer differences,
16811680 pointer conversions, `SYSCALL` and `ARGC`; `SIZE` and a constant
16821681 `LEN` are untyped; `INT` widens silently to `I64` and `UINT` to