raz / commit b047dd00

commit
b047dd002905b0aaebbc74bb298f637aeb6104af
author
Luis <42945842+ldiaz94@users.noreply.github.com>
date
parent
e19ed1d8
PROPOSALS.md: FILL, a qualified arm, slice and ERROR constants, a const parameter's slice and appendix A's copies done

patch · log

2 files changed, +6 -7

PROPOSALS.md modified +5 -6

@@ -1712,7 +1712,7 @@
17121712
17131713 ## Constants built from constants
17141714
1715-**Status.** Proposed 2026-10-22, collated from RAZ-GAPS.md.
1715+**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).
17161716
17171717 Three small changes to what a constant may be written with, and a defect. Each stands
17181718 alone; none changes what a program that compiles today means.
@@ -1796,7 +1796,7 @@
17961796
17971797 ## A `match` arm names its case as everywhere else
17981798
1799-**Status.** Proposed 2026-10-22, collated from RAZ-GAPS.md.
1799+**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).
18001800
18011801 An arm takes a case written alone, or with its type when the type is
18021802 the module's own (`| K.a:`). An imported case can't be written as
@@ -1983,8 +1983,7 @@
19831983
19841984 ## Filling: `FILL(d, x)`
19851985
1986-**Status.** Proposed 2026-10-22 as `Bytes.fill`, collated from
1987-RAZ-GAPS.md; amended 2026-10-23 to a built-in, from rat.
1986+**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.
19881987
19891988 `COPY` copies and `NEW` zeroes, but nothing sets the elements of an
19901989 array or a slice already in hand. rttf clears each glyph's raster a
@@ -2070,7 +2069,7 @@
20702069
20712070 ## A slice of a `const` parameter, returned
20722071
2073-**Status.** Proposed 2026-10-22, collated from RAZ-GAPS.md.
2072+**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).
20742073
20752074 7.3 says a slice of a `var` parameter, of a module variable, or of
20762075 what a pointer points at may be returned, and says nothing of a
@@ -2104,7 +2103,7 @@
21042103
21052104 ## What wiping can't reach, said in appendix A
21062105
2107-**Status.** Proposed 2026-10-22, collated from RAZ-GAPS.md.
2106+**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).
21082107
21092108 A wipe through `^VOLATILE U8` is never left out (7.6), but it writes
21102109 only what the program can name. A spilled register, a statement's

doc/compiler.md (history) modified +1 -1

@@ -1,6 +1,6 @@
11 # Reading the raz compiler
22
3-The compiler is eleven files of raz, about 12,200 lines of code (the
3+The compiler is eleven files of raz, about 12,300 lines of code (the
44 budget is 14,000). It is its own compiler: a release of it, the one
55 `BOOT` names, builds `src/`, and `make fixpoint` checks that what it
66 makes makes itself again, byte for byte. Each release was built by the