From b047dd002905b0aaebbc74bb298f637aeb6104af Mon Sep 17 00:00:00 2001 From: Luis <42945842+ldiaz94@users.noreply.github.com> Date: Fri, 23 Oct 2026 13:23:27 +0100 Subject: [PATCH] PROPOSALS.md: FILL, a qualified arm, slice and ERROR constants, a const parameter's slice and appendix A's copies done --- diff --git a/PROPOSALS.md b/PROPOSALS.md index cb38c26..fb561a5 100644 --- a/PROPOSALS.md +++ b/PROPOSALS.md @@ -1712,7 +1712,7 @@ ## Constants built from constants -**Status.** Proposed 2026-10-22, collated from RAZ-GAPS.md. +**Status.** Approved by the owner on 2026-10-23, with the twelfth thaw. In the report, 2026-10.36, and in the compiler (2026-10-23). Three small changes to what a constant may be written with, and a defect. Each stands alone; none changes what a program that compiles today means. @@ -1796,7 +1796,7 @@ ## A `match` arm names its case as everywhere else -**Status.** Proposed 2026-10-22, collated from RAZ-GAPS.md. +**Status.** Approved by the owner on 2026-10-23, with the twelfth thaw. In the report, 2026-10.36, and in the compiler (2026-10-23). An arm takes a case written alone, or with its type when the type is the module's own (`| K.a:`). An imported case can't be written as @@ -1983,8 +1983,7 @@ ## Filling: `FILL(d, x)` -**Status.** Proposed 2026-10-22 as `Bytes.fill`, collated from -RAZ-GAPS.md; amended 2026-10-23 to a built-in, from rat. +**Status.** Approved by the owner on 2026-10-23, with the twelfth thaw. In the report, 2026-10.36 (6.8), and in the compiler (2026-10-23): `rep stos` of the element's width, a loop of stores for a short run, or a record copied forward. `COPY` copies and `NEW` zeroes, but nothing sets the elements of an array or a slice already in hand. rttf clears each glyph's raster a @@ -2070,7 +2069,7 @@ ## A slice of a `const` parameter, returned -**Status.** Proposed 2026-10-22, collated from RAZ-GAPS.md. +**Status.** Approved by the owner on 2026-10-23, with the twelfth thaw. In the report, 2026-10.36, and in the compiler (2026-10-23). 7.3 says a slice of a `var` parameter, of a module variable, or of what a pointer points at may be returned, and says nothing of a @@ -2104,7 +2103,7 @@ ## What wiping can't reach, said in appendix A -**Status.** Proposed 2026-10-22, collated from RAZ-GAPS.md. +**Status.** Approved by the owner on 2026-10-23, with the twelfth thaw. In the report, 2026-10.36, and in the compiler (2026-10-23). A wipe through `^VOLATILE U8` is never left out (7.6), but it writes only what the program can name. A spilled register, a statement's diff --git a/doc/compiler.md b/doc/compiler.md index 112ccf6..a962732 100644 --- a/doc/compiler.md +++ b/doc/compiler.md @@ -1,6 +1,6 @@ # Reading the raz compiler -The compiler is eleven files of raz, about 12,200 lines of code (the +The compiler is eleven files of raz, about 12,300 lines of code (the budget is 14,000). It is its own compiler: a release of it, the one `BOOT` names, builds `src/`, and `make fixpoint` checks that what it makes makes itself again, byte for byte. Each release was built by the