From 92a199c69853ad1cb67203dea6ecf763452b2904 Mon Sep 17 00:00:00 2001 From: Luis <42945842+ldiaz94@users.noreply.github.com> Date: Tue, 13 Oct 2026 21:26:40 +0100 Subject: [PATCH] Docs and site for v0.10.1: the compiler is in raz, 650,000 lines a second --- diff --git a/CLAUDE.md b/CLAUDE.md index 08642ef..a265556 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -14,7 +14,7 @@ make kernels # test/bench's kernels against FPC -O2's twins make loc # lines of the compiler, by rloc; the last, code, is the budget make tests # the small Pascal tests of scan, x64, link and elf - make seed-check # src/ against the seed: each unit, then every program + make seed-check # src/ against the seed: scan to x64, then the messages and statuses of every program make fixpoint # the seed builds src, that builds src, that again: the last two agree make gdb # gdb stops at a line of a test and names it make stress # 40,000 native threads; make check runs a small version @@ -130,8 +130,10 @@ `.github/workflows/ci.yml`, which checks it and makes the GitHub release with a tarball of `raz` and `lib/`; it also checks every push to `main`. `README.md`'s "Versions" gives the commands. v0.3.0 is -the first; v0.9.1, report 2026-10.19, the latest: v0.9.0 with -`tools/` in the tarball, which the website offers from 0.7.1 on. +the first; v0.10.1, report 2026-10.21, the latest: the compiler in raz, +built by itself, and 1.4 times the Pascal one's time (v0.9.1 was the last +built by the Pascal seed). The tarball has `tools/`, which the website +offers from 0.7.1 on. `test/libc` runs its programs over `lib/Sys.raz`, the C one, through a link in its `mods`. A test or example without `.expect` is only diff --git a/README.md b/README.md index 47b7c28..603c6fb 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,8 @@ The compiler is about 10,700 lines of raz, written in itself: one pass, no intermediate form, no optimizer. It writes x86-64 machine code and the -ELF executable itself, with no assembler or linker, and compiles over -400,000 lines a second. +ELF executable itself, with no assembler or linker, and compiles about +650,000 lines a second. ## What's here @@ -197,16 +197,16 @@ The compiler says its own version and that of the report it follows: $ ./raz --version - raz 0.9.0, report 2026-10.19 + raz 0.10.1, report 2026-10.21 The compiler's version is git's name for the commit it was built from: -`0.9.0` at the tag `v0.9.0`, `0.9.0-5-g38d29a8` five commits past it. +`0.10.1` at the tag `v0.10.1`, `0.10.1-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.9.1 -m 'raz 0.9.1, report 2026-10.19' - $ git push origin v0.9.1 + $ git tag -a v0.10.1 -m 'raz 0.10.1, report 2026-10.21' + $ git push origin v0.10.1 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/site/content/home.html b/site/content/home.html index d157459..15561d2 100644 --- a/site/content/home.html +++ b/site/content/home.html @@ -15,13 +15,13 @@ system calls and call C libraries. It has no garbage collector and no hidden run time: what the program does is what its text says.
-The compiler is written in raz, about 10,500 lines, and builds itself. It makes +
The compiler is written in raz, about 10,700 lines, and builds itself. It makes x86-64 machine code and the ELF file itself, with no assembler or linker, in -one pass, at about 500,000 lines a second.
+one pass, at about 650,000 lines a second.