raz / commit 1c2dc5cd

commit
1c2dc5cd800575179dfe083b06ed1aaee66ea317
author
Luis <42945842+ldiaz94@users.noreply.github.com>
date
parent
4319e17f
release
v0.5.0
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>

patch · log

5 files changed, +39 -14

CLAUDE.md modified +8 -4

@@ -70,9 +70,13 @@
7070 for rlX11 and rat (reports 2026-10.4 and 10.7, steps 49a-c), with
7171 `Info`'s `file` and `symlink` for rloc (2026-10.6, step 49d), and
7272 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
7680 `doc/compiler.md`'s table of lines and its routine names true when the
7781 compiler changes.
7882
@@ -83,7 +87,7 @@
8387 `.github/workflows/ci.yml`, which checks it and makes the GitHub
8488 release with a tarball of `raz` and `lib/`; it also checks every push
8589 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.
8791
8892 `test/libc` runs its programs over `lib/Sys.raz`, the C one, through
8993 a link in its `mods`. A test or example without `.expect` is only

PLAN.md (history) modified +13 -1

@@ -58,11 +58,23 @@
5858 - [ ] 7. rat, rlX11, rmacs and ravite on this raz, in their own
5959 repositories: the four copies of UTF-8 encoding go to
6060 `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
6262 language changes only to mend a defect; the library grows only by
6363 what breaks nothing; wishes go to a list for a later thaw. README,
6464 `doc/compiler.md`'s table, the report's version and the
6565 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).
6678
6779 ## After v0.5.0
6880

README.md (history) modified +9 -5

@@ -24,7 +24,7 @@
2424 $ examples/Hello
2525 hello, world
2626
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
2828 intermediate form, no optimizer. It writes x86-64 machine code and the
2929 ELF executable itself, with no assembler or linker, and compiles about
3030 a million lines a second.
@@ -160,16 +160,16 @@
160160 The compiler says its own version and that of the report it follows:
161161
162162 $ ./raz --version
163- raz 0.4.0, report 2026-10.8
163+ raz 0.5.0, report 2026-10.9
164164
165165 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.
167167 To release, check `main` and tag it; the tag's message is what
168168 `raz --version` will print:
169169
170170 $ 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
173173
174174 GitHub then builds and checks the tag, and makes a release of it with
175175 a tarball of `raz` and its `lib/`. A tag pushed before the workflow
@@ -177,6 +177,10 @@
177177
178178 A version of the report is named by its month and a count; the report's
179179 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.
180184
181185 ## Not here
182186

doc/raz.md (history) modified +8 -3

@@ -9,9 +9,14 @@
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.8 of the report; section 12 says what each
12+This is version 2026-10.9 of the report; section 12 says what each
1313 version changed.
1414
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+
1520 ## 1. A first look
1621
1722 ```
@@ -1402,8 +1407,8 @@
14021407 (section 11).
14031408 - **2026-10.8.** `Sys.workDir` returns the directory, with no `var`
14041409 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,
14071412 links, permissions and times; pipes, process groups and the
14081413 terminal's foreground; signals caught on a file descriptor; clocks,
14091414 sleeping and random bytes; and network sockets. `Sys.spawn` takes a

src/raz.pas modified +1 -1

@@ -31,7 +31,7 @@
3131 { what git describe says, made by make: 0.3.0 at the tag v0.3.0,
3232 0.3.0-5-g38d29a8 five commits past it }
3333 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 }
3535 MemfdCreate = 319; { the system call; FPC 3.2.2 has no name for it }
3636 MfdCloexec = 1; { an ELF still executes: the kernel opens it first }
3737