The freeze: report 2026-10.9, and the language frozen The report's opening and CLAUDE.md say it: the language changes only to mend a defect, the library grows only by what breaks no program, wishes wait on a list in PLAN.md for a later thaw, seeded with three met in this milestone. The compiler follows 2026-10.9; README's versions are 0.5.0's. Step 7, the four outside repos, is still open. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
| @@ -70,9 +70,13 @@ | ||
| 70 | 70 | for rlX11 and rat (reports 2026-10.4 and 10.7, steps 49a-c), with |
| 71 | 71 | `Info`'s `file` and `symlink` for rloc (2026-10.6, step 49d), and |
| 72 | 72 | stage 9, several results in place of var parameters (2026-10.8, |
| 73 | -steps 52-53). The compiler says it follows report 2026-10.8, the last | |
| 74 | -version all done. | |
| 75 | -v0.5.0 is under way (`PLAN.md`). Keep | |
| 73 | +steps 52-53), and v0.5.0, the library of report 2026-10.9, which the | |
| 74 | +compiler says it follows. | |
| 75 | + | |
| 76 | +**The freeze.** Since v0.5.0 the language changes only to mend a | |
| 77 | +defect, and the library grows only by what breaks no program written | |
| 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 | |
| 76 | 80 | `doc/compiler.md`'s table of lines and its routine names true when the |
| 77 | 81 | compiler changes. |
| 78 | 82 | |
| @@ -83,7 +87,7 @@ | ||
| 83 | 87 | `.github/workflows/ci.yml`, which checks it and makes the GitHub |
| 84 | 88 | release with a tarball of `raz` and `lib/`; it also checks every push |
| 85 | 89 | to `main`. `README.md`'s "Versions" gives the commands. v0.3.0 is |
| 86 | -the first; v0.4.0, report 2026-10.8, the latest. | |
| 90 | +the first; v0.5.0, report 2026-10.9, the latest. | |
| 87 | 91 | |
| 88 | 92 | `test/libc` runs its programs over `lib/Sys.raz`, the C one, through |
| 89 | 93 | a link in its `mods`. A test or example without `.expect` is only |
| @@ -58,11 +58,23 @@ | ||
| 58 | 58 | - [ ] 7. rat, rlX11, rmacs and ravite on this raz, in their own |
| 59 | 59 | repositories: the four copies of UTF-8 encoding go to |
| 60 | 60 | `Str.encode`. |
| 61 | -- [ ] 8. The freeze, in CLAUDE.md and the report's first section: the | |
| 61 | +- [x] 8. The freeze, in CLAUDE.md and the report's first section: the | |
| 62 | 62 | language changes only to mend a defect; the library grows only by |
| 63 | 63 | what breaks nothing; wishes go to a list for a later thaw. README, |
| 64 | 64 | `doc/compiler.md`'s table, the report's version and the |
| 65 | 65 | compiler's; tag `v0.5.0`. |
| 66 | + | |
| 67 | +## Wishes, for a later thaw | |
| 68 | + | |
| 69 | +What the language or the library might have, met while writing raz; | |
| 70 | +none is built while the freeze holds. | |
| 71 | + | |
| 72 | +- `case` on integers and characters: `match` takes variants only, so | |
| 73 | + a choice among numbers is a chain of `elsif` (`examples/Sh.raz`). | |
| 74 | +- Constant arrays: a table of numbers is assigned in a procedure, as | |
| 75 | + `Math`'s bits of 2/pi are, or kept in a variable. | |
| 76 | +- Joining string constants, `"a" + B`: a test's expected text is | |
| 77 | + written out whole each time (`Opt`'s test). | |
| 66 | 78 | |
| 67 | 79 | ## After v0.5.0 |
| 68 | 80 |
| @@ -24,7 +24,7 @@ | ||
| 24 | 24 | $ examples/Hello |
| 25 | 25 | hello, world |
| 26 | 26 | |
| 27 | -The compiler is under 6,000 lines of Free Pascal: one pass, no | |
| 27 | +The compiler is about 6,000 lines of Free Pascal: one pass, no | |
| 28 | 28 | intermediate form, no optimizer. It writes x86-64 machine code and the |
| 29 | 29 | ELF executable itself, with no assembler or linker, and compiles about |
| 30 | 30 | a million lines a second. |
| @@ -160,16 +160,16 @@ | ||
| 160 | 160 | The compiler says its own version and that of the report it follows: |
| 161 | 161 | |
| 162 | 162 | $ ./raz --version |
| 163 | - raz 0.4.0, report 2026-10.8 | |
| 163 | + raz 0.5.0, report 2026-10.9 | |
| 164 | 164 | |
| 165 | 165 | The compiler's version is git's name for the commit it was built from: |
| 166 | -`0.4.0` at the tag `v0.4.0`, `0.4.0-5-g38d29a8` five commits past it. | |
| 166 | +`0.5.0` at the tag `v0.5.0`, `0.5.0-5-g38d29a8` five commits past it. | |
| 167 | 167 | To release, check `main` and tag it; the tag's message is what |
| 168 | 168 | `raz --version` will print: |
| 169 | 169 | |
| 170 | 170 | $ make check |
| 171 | - $ git tag -a v0.4.1 -m 'raz 0.4.1, report 2026-10.8' | |
| 172 | - $ git push origin v0.4.1 | |
| 171 | + $ git tag -a v0.5.1 -m 'raz 0.5.1, report 2026-10.9' | |
| 172 | + $ git push origin v0.5.1 | |
| 173 | 173 | |
| 174 | 174 | GitHub then builds and checks the tag, and makes a release of it with |
| 175 | 175 | a tarball of `raz` and its `lib/`. A tag pushed before the workflow |
| @@ -177,6 +177,10 @@ | ||
| 177 | 177 | |
| 178 | 178 | A version of the report is named by its month and a count; the report's |
| 179 | 179 | last section says what each version changed. |
| 180 | + | |
| 181 | +Since v0.5.0 the language is frozen, softly: it changes only to mend a | |
| 182 | +defect, and the library grows only by what breaks no program. Wishes | |
| 183 | +wait on a list in `PLAN.md`, for a later thaw. | |
| 180 | 184 | |
| 181 | 185 | ## Not here |
| 182 | 186 |
| @@ -9,9 +9,14 @@ | ||
| 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.8 of the report; section 12 says what each | |
| 12 | +This is version 2026-10.9 of the report; section 12 says what each | |
| 13 | 13 | version changed. |
| 14 | 14 | |
| 15 | +The language is frozen, softly, from this version on: it changes only | |
| 16 | +to mend a defect, and its library grows only by what breaks no program | |
| 17 | +written for it. What anyone wishes it had waits on a list, for a later | |
| 18 | +thaw. | |
| 19 | + | |
| 15 | 20 | ## 1. A first look |
| 16 | 21 | |
| 17 | 22 | ``` |
| @@ -1402,8 +1407,8 @@ | ||
| 1402 | 1407 | (section 11). |
| 1403 | 1408 | - **2026-10.8.** `Sys.workDir` returns the directory, with no `var` |
| 1404 | 1409 | parameter (section 11). |
| 1405 | -- **2026-10.9**, under way: what follows is in the report, but not | |
| 1406 | - yet all in the library. `Sys` gains opening a file for any use, seeking, | |
| 1410 | +- **2026-10.9.** The language is frozen (the start of the report). | |
| 1411 | + `Sys` gains opening a file for any use, seeking, | |
| 1407 | 1412 | links, permissions and times; pipes, process groups and the |
| 1408 | 1413 | terminal's foreground; signals caught on a file descriptor; clocks, |
| 1409 | 1414 | sleeping and random bytes; and network sockets. `Sys.spawn` takes a |
| @@ -31,7 +31,7 @@ | ||
| 31 | 31 | { what git describe says, made by make: 0.3.0 at the tag v0.3.0, |
| 32 | 32 | 0.3.0-5-g38d29a8 five commits past it } |
| 33 | 33 | Version = {$I version.inc}; |
| 34 | - Report = '2026-10.8'; { the version of doc/raz.md it follows } | |
| 34 | + Report = '2026-10.9'; { the version of doc/raz.md it follows } | |
| 35 | 35 | MemfdCreate = 319; { the system call; FPC 3.2.2 has no name for it } |
| 36 | 36 | MfdCloexec = 1; { an ELF still executes: the kernel opens it first } |
| 37 | 37 |