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>
| @@ -76,7 +76,9 @@ | ||
| 76 | 76 | **The freeze.** Since v0.5.0 the language changes only to mend a |
| 77 | 77 | defect, and the library grows only by what breaks no program written |
| 78 | 78 | 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 | |
| 80 | 82 | `doc/compiler.md`'s table of lines and its routine names true when the |
| 81 | 83 | compiler changes. |
| 82 | 84 | |
| @@ -128,7 +130,7 @@ | ||
| 128 | 130 | program the entry point stores C's `exit` in `Rt.cExit`, found by |
| 129 | 131 | name like `Rt.exit`, before any module body runs. |
| 130 | 132 | - 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). | |
| 132 | 134 | - A real constant is held as an F64; one typed `F32` holds a value an |
| 133 | 135 | F32 can hold. An `F32` in a register is its low 32 bits; the upper |
| 134 | 136 | ones are left as they fall. |
| @@ -141,7 +143,8 @@ | ||
| 141 | 143 | the main thread, and one in each `Thread` thread's mapping. C's |
| 142 | 144 | threads have none, so a stack overflow in one ends the program by |
| 143 | 145 | 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. | |
| 145 | 148 | - Warnings come only for a module with no errors. A procedure naming |
| 146 | 149 | itself doesn't use it; a type named by a pointer in its own |
| 147 | 150 | declaration does. An enumeration's names are never warned of, nor a |
| @@ -9,11 +9,10 @@ | ||
| 9 | 9 | This report defines the language. It is short on purpose. Whatever it |
| 10 | 10 | doesn't allow, raz doesn't have. |
| 11 | 11 | |
| 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. | |
| 17 | 16 | |
| 18 | 17 | The language is frozen, softly, from this version on: it changes only |
| 19 | 18 | to mend a defect, and its library grows only by what breaks no program |
| @@ -1676,7 +1675,7 @@ | ||
| 1676 | 1675 | 2); a slice of a pointer can't run backwards (section 6.4). Ordinary |
| 1677 | 1676 | accesses are no longer promised to be made exactly as written, only |
| 1678 | 1677 | 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 | |
| 1680 | 1679 | address, are the integers of lengths, slices, pointer differences, |
| 1681 | 1680 | pointer conversions, `SYSCALL` and `ARGC`; `SIZE` and a constant |
| 1682 | 1681 | `LEN` are untyped; `INT` widens silently to `I64` and `UINT` to |