From 3a429ab2b335ac37cf584113d4ad0b86a5f260b9 Mon Sep 17 00:00:00 2001 From: Luis <42945842+ldiaz94@users.noreply.github.com> Date: Fri, 16 Oct 2026 11:32:38 +0100 Subject: [PATCH] Tidy for v0.17.0: README's versions, CLAUDE.md, seed-check tools/Widths.raz uses continue, which the seed doesn't know. --- diff --git a/CLAUDE.md b/CLAUDE.md index 2315a0d..424a555 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -69,7 +69,7 @@ commented throughout, most of all where it is obscure or needs a compiler writer's knowledge; at least 400,000 lines of raz a second; the report, `doc/raz.md`, under 40 pages as `make pdf` renders it, - checked by hand after each milestone (29 at report 2026-10.29). + checked by hand after each milestone (30 at report 2026-10.31). - Clarity comes first, before speed and size: the compiler must be a model of plain code that a beginner can follow. Every rewrite of the code it makes is explained where it is done, with the code before @@ -80,11 +80,10 @@ ## Where things stand -v0.16.0, report 2026-10.29 (an array a call returns lives to its -statement's end; an array constant typed `[]T` takes its literal's -length; `Sys` gains what a shell needs, among it `fork`, `exec`, -`handle` and `came`; `Map.done`, `Str.free`, `Files.load`), what -porting concha asked for, is the latest release. `src/` is the +v0.17.0, report 2026-10.31 (a thaw: `INT` at least 16 bits, and +`U8`, `I8` and `I16` widening to it; an enumeration's name written with +its type, and shared; `continue`; `[]` as the empty slice; `Width`, the +columns of a terminal), is the latest release. `src/` is the compiler in raz, built by itself (Self, done); the seed in `seed/` is frozen, and v0.9.1 was the last release it built. The compiler takes 1.4 times the Pascal one's time; `make kernels` measures `test/bench` diff --git a/README.md b/README.md index 91efe52..33bf072 100644 --- a/README.md +++ b/README.md @@ -201,16 +201,16 @@ The compiler says its own version and that of the report it follows: $ ./raz --version - raz 0.16.0, report 2026-10.29 + raz 0.17.0, report 2026-10.31 The compiler's version is git's name for the commit it was built from: -`0.16.0` at the tag `v0.16.0`, `0.16.0-5-g38d29a8` five commits past it. +`0.17.0` at the tag `v0.17.0`, `0.17.0-5-g38d29a8` five commits past it. To release, check `main` and tag it; the tag's message is what `raz --version` will print: $ make check - $ git tag -a v0.16.0 -m 'raz 0.16.0, report 2026-10.29' - $ git push origin v0.16.0 + $ git tag -a v0.17.0 -m 'raz 0.17.0, report 2026-10.31' + $ git push origin v0.17.0 GitHub then builds and checks the tag, and makes a release of it with a tarball of `raz`, its `lib/` and its manual pages, made by `make diff --git a/src/check.sh b/src/check.sh index b587caf..11db026 100755 --- a/src/check.sh +++ b/src/check.sh @@ -32,7 +32,8 @@ conform/run/Continue.raz conform/err/ContinueOutside.raz conform/err/ContinueDefer.raz conform/err/ContinueName.raz conform/run/EnumNames.raz conform/err/EnumShared.raz conform/err/EnumNoName.raz - conform/err/EnumArmType.raz conform/err/EnumSharedImported.raz conform/err/EnumTwiceOther.raz" + conform/err/EnumArmType.raz conform/err/EnumSharedImported.raz conform/err/EnumTwiceOther.raz + tools/Widths.raz" newer() { case $1 in conform/*/View*.raz) return 0 ;; esac for g in $newer; do [ $g = $1 ] && return 0; done