raz / commit 92a199c6

commit
92a199c69853ad1cb67203dea6ecf763452b2904
author
Luis <42945842+ldiaz94@users.noreply.github.com>
date
parent
a4f60016
release
v0.10.1
Docs and site for v0.10.1: the compiler is in raz, 650,000 lines a second

patch · log

5 files changed, +19 -17

CLAUDE.md modified +5 -3

@@ -14,7 +14,7 @@
1414 make kernels # test/bench's kernels against FPC -O2's twins
1515 make loc # lines of the compiler, by rloc; the last, code, is the budget
1616 make tests # the small Pascal tests of scan, x64, link and elf
17- make seed-check # src/ against the seed: each unit, then every program
17+ make seed-check # src/ against the seed: scan to x64, then the messages and statuses of every program
1818 make fixpoint # the seed builds src, that builds src, that again: the last two agree
1919 make gdb # gdb stops at a line of a test and names it
2020 make stress # 40,000 native threads; make check runs a small version
@@ -130,8 +130,10 @@
130130 `.github/workflows/ci.yml`, which checks it and makes the GitHub
131131 release with a tarball of `raz` and `lib/`; it also checks every push
132132 to `main`. `README.md`'s "Versions" gives the commands. v0.3.0 is
133-the first; v0.9.1, report 2026-10.19, the latest: v0.9.0 with
134-`tools/` in the tarball, which the website offers from 0.7.1 on.
133+the first; v0.10.1, report 2026-10.21, the latest: the compiler in raz,
134+built by itself, and 1.4 times the Pascal one's time (v0.9.1 was the last
135+built by the Pascal seed). The tarball has `tools/`, which the website
136+offers from 0.7.1 on.
135137
136138 `test/libc` runs its programs over `lib/Sys.raz`, the C one, through
137139 a link in its `mods`. A test or example without `.expect` is only

README.md (history) modified +6 -6

@@ -26,8 +26,8 @@
2626
2727 The compiler is about 10,700 lines of raz, written in itself: one pass, no
2828 intermediate form, no optimizer. It writes x86-64 machine code and the
29-ELF executable itself, with no assembler or linker, and compiles over
30-400,000 lines a second.
29+ELF executable itself, with no assembler or linker, and compiles about
30+650,000 lines a second.
3131
3232 ## What's here
3333
@@ -197,16 +197,16 @@
197197 The compiler says its own version and that of the report it follows:
198198
199199 $ ./raz --version
200- raz 0.9.0, report 2026-10.19
200+ raz 0.10.1, report 2026-10.21
201201
202202 The compiler's version is git's name for the commit it was built from:
203-`0.9.0` at the tag `v0.9.0`, `0.9.0-5-g38d29a8` five commits past it.
203+`0.10.1` at the tag `v0.10.1`, `0.10.1-5-g38d29a8` five commits past it.
204204 To release, check `main` and tag it; the tag's message is what
205205 `raz --version` will print:
206206
207207 $ make check
208- $ git tag -a v0.9.1 -m 'raz 0.9.1, report 2026-10.19'
209- $ git push origin v0.9.1
208+ $ git tag -a v0.10.1 -m 'raz 0.10.1, report 2026-10.21'
209+ $ git push origin v0.10.1
210210
211211 GitHub then builds and checks the tag, and makes a release of it with
212212 a tarball of `raz`, its `lib/` and its manual pages, made by `make

site/content/home.html (history) modified +4 -4

@@ -15,13 +15,13 @@
1515 system calls and call C libraries. It has no garbage collector and no hidden
1616 run time: what the program does is what its text says.</p>
1717
18-<p>The compiler is written in raz, about 10,500 lines, and builds itself. It makes
18+<p>The compiler is written in raz, about 10,700 lines, and builds itself. It makes
1919 x86-64 machine code and the ELF file itself, with no assembler or linker, in
20-one pass, at about 500,000 lines a second.</p>
20+one pass, at about 650,000 lines a second.</p>
2121
2222 <div class="facts">
23- <span><b>~10,500</b> lines of compiler</span>
24- <span><b>~500K</b> lines compiled a second</span>
23+ <span><b>~10,700</b> lines of compiler</span>
24+ <span><b>~650K</b> lines compiled a second</span>
2525 <span><b>static</b> executables, no run time to install</span>
2626 <span><b>1</b> report, about <b>30</b> pages</span>
2727 </div>

src/README.md (history) modified +3 -3

@@ -30,7 +30,7 @@
3030 mistakes among them, over 60 scripts (the text its messages point into
3131 is `test/ItemDump.txt`): the bytes, fixups, line notes and listing, and
3232 the messages, had to be the same as the seed's. They were, until the
33-compiler's code was improved (v0.10.0): `src/` makes better code than
33+compiler's code was improved (v0.10.1): `src/` makes better code than
3434 the seed, so the dumpers are kept, as a way to read what `Gen` makes,
3535 and no longer compared. `src/check.sh` says what is.
3636
@@ -41,13 +41,13 @@
4141 examples, the tools, `src/` itself, every test of `test/` and
4242 `conform/`, and the 348,025-line program of `test/genbench.py`, with the
4343 options each test has. The messages and the status must be the same
44-for every file (the executables no longer are, since v0.10.0): 409 of them, 289 of which are errors.
44+for every file (the executables no longer are, since v0.10.1): 409 of them, 289 of which are errors.
4545 `make seed-bench` gives the speed of both.
4646
4747 `make fixpoint` (`fixpoint.sh`) is the proof that the port is whole:
4848 the seed builds `Raz.raz` (stage 1), stage 1 builds it (stage 2), and
4949 stage 2 builds it again (stage 3). Stages 2 and 3 must be the same
50-file; they are (stage 1 is not, since v0.10.0: the port makes better code
50+file; they are (stage 1 is not, since v0.10.1: the port makes better code
5151 than the seed's). Stage 3 then stands in for `./raz`, and `make check` and
5252 `make bench` run on it. Each stage is built by the same command in the
5353 same place, since a program holds the paths it was made from.

src/check.sh modified +1 -1

@@ -94,7 +94,7 @@
9494
9595 # Gen and Item were tested here against the seed's while they were ported,
9696 # by the code they made: the same bytes, listings and line notes. Since the
97-# compiler's own code was improved (v0.10.0) that code is no longer the
97+# compiler's own code was improved (v0.10.1) that code is no longer the
9898 # seed's, so they are tested by what the seed can still check, the
9999 # messages and statuses of Parse and Raz below, and by the fixpoint and
100100 # the tests of `make check`, on the compiler they make.