raz / commit 332fb785

commit
332fb785d47c61fe093effe6960ed2b883f0c3ba
author
Luis <42945842+ldiaz94@users.noreply.github.com>
date
parent
4da57839
PLAN.md: the order to 1.0, release 10.36, the safety thaw, the Moss work, the hard freeze, a clean-up

patch · log

2 files changed, +89 -1

CLAUDE.md modified +3 -1

@@ -138,7 +138,9 @@
138138 nothing new goes in `PROPOSALS.md`, and a wish, the owner's or yours,
139139 isn't recorded. What is open there, the safety thaw and the Moss work
140140 (`Host`, a freestanding program stated, the assembler's instructions,
141-implementation limits), is the last. Once it is done the language is in
141+implementation limits), is the last. `PLAN.md` gives the order: v0.22.0 for what is
142+done, the safety thaw, the Moss work, the hard freeze, a clean-up, then
143+1.0 when use shows it. Once it is done the language is in
142144 a hard freeze: no more thaws. The language changes only to mend a
143145 defect, the compiler or the library doing other than the report says;
144146 the library's core (appendix A) only to mend a defect or to plug a very

PLAN.md (history) added +86 -0

@@ -0,0 +1,86 @@
1+# raz: the plan to 1.0
2+
3+What is left before raz is 1.0, in order, by the owner's word of
4+2026-10-23. `PROPOSALS.md` takes nothing new; what it still holds open is
5+the safety thaw and the Moss work below, and nothing else is planned.
6+Each step is a release, started on the owner's go-ahead; within it, one
7+commit per piece, the report first for any change to the language.
8+
9+## 1. Release what is done: v0.22.0
10+
11+Report 2026-10.36, the twelfth thaw: `MIN`, `MAX`, `ABS`, `CLZ`, `CTZ`,
12+`POPCOUNT`, `INT(b)`, `OFFSET`, `SIZE(T.f)`, `BYTES`, `FILL`, a qualified
13+case in an arm, slice and `ERROR` constants, a record's procedure field
14+that takes the record; the library's growth since v0.21.0 (`Fmt`, `Str`,
15+`Files`, `Sys`, `Math`, `Opt`, `Heap.sure`, `Vec`, `Arena`); inlining a
16+procedure that only returns, and `COPY`, `FILL` and array parameters made
17+fast.
18+
19+- Check: `make check`, `make fixpoint`, `make bench`, `make prev-bench`,
20+ `make kernels`, `make alpine`, the report's pages (35 at 10.36).
21+- Tag `v0.22.0`; then, as a step of its own, move `BOOT` to it, so that
22+ `src/` and the library it imports may use what 10.36 brought.
23+
24+## 2. The safety thaw: v0.23.0
25+
26+From `MEM_PROPOSAL.md`, with "Less that is undefined", "A slice that
27+can't be written: `[]const T`", "What a call does with its arguments"
28+(its part 3, `ret` and `keep`), and "Left out"'s exported array read as
29+a slice.
30+
31+1. The owner chooses the scope. The proposal's parts stand alone:
32+ A, the fence (`unsafe;`, which modules may reach memory they
33+ shouldn't); B, lending (`ret` and `keep`, the returned-slice hole
34+ closed); C, owners that count what they lend. Appendices 4 to 7 find
35+ holes in its body, and C is much the largest. A then B, each a step
36+ of its own, is the smaller way.
37+2. The body of what is chosen is revised against its appendices.
38+3. The report's text, for the owner to review; then the compiler, the
39+ library, and the programs in `~/r` it breaks, each mended.
40+4. Release, and the report's pages checked.
41+
42+## 3. The Moss work: v0.24.0
43+
44+1. Merge the branch `moss-platform-boundary`'s two plain fixes (a file's
45+ identity from `Sys.info`; a main file at the root), rebased on main.
46+2. `Host`, as "The compiler on another host" in `PROPOSALS.md` asks:
47+ five procedures, `Files.argCount`, a host chosen by staging, its tests
48+ in `sh`, not Python; rebased and merged. Moss's `RAZ_PORT.lock` then
49+ pins main.
50+3. What the compiler asks of `Sys`, `Rt` and `Files`, written down in
51+ `doc/compiler.md` and held by a test.
52+4. "A freestanding program, stated", "The assembler's instructions" and
53+ "Implementation limits, and a compiler for a small stack".
54+5. Release.
55+
56+## 4. The hard freeze
57+
58+From v0.24.0 on: no more thaws. The language changes only to mend a
59+defect; the library's core (appendix A) only to mend a defect or plug a
60+very big gap; the rest of the library grows only conservatively, by
61+what breaks no program, on the owner's word.
62+
63+## 5. Clean-up: v0.25.0, the last before 1.0
64+
65+The files that served the thaws are made a record, short and true:
66+
67+- `PROPOSALS.md` and `MEM_PROPOSAL.md`: what was built is in the report,
68+ `doc/report-history.md` and git; each shrinks to a short index of what
69+ was decided, and what was left out with its reason, or goes.
70+- `~/r/RAZ-GAPS.md` and each repository's `RAZ-NOTES.md` (or `RAZ.md`):
71+ closed, each saying so at its top; a gap since mended is marked.
72+- `CLAUDE.md` (raz's and `~/r`'s): "Where things stand" cut to the
73+ present; the readings of the report checked one by one against the
74+ compiler and the report, and folded into the report where they are
75+ the language's, not this compiler's.
76+- `doc/compiler.md`'s table and routine names, `README.md`,
77+ `doc/raz-lib.md` and the man pages checked against the code;
78+ `STANDARDS.md` against the library.
79+- The programs in `~/r` that pin an older raz (rmacs, ravite, rnet, ...)
80+ moved to the release.
81+
82+## 6. 1.0
83+
84+No date. raz is 1.0 when use shows it: programs written against v0.25.0
85+for long enough that no defect is outstanding. Until then it is
86+0.25.x, mending defects only.