From 61a5b8633807eec51f1f4faf6608fb2e69ca4d0b Mon Sep 17 00:00:00 2001 From: Luis <42945842+ldiaz94@users.noreply.github.com> Date: Mon, 16 Nov 2026 11:36:54 +0000 Subject: [PATCH] raz.lucela.com: the site's new home; README for a public repository, CONTRIBUTING, banner - wrangler: custom domain raz.lucela.com, workers.dev kept for old links - every link, boot.sh's download and the pages' og:image move to it - README: banner, Learn it, status, Get it; release steps to site/README - CONTRIBUTING: defects and docs by issue only, DCO, AI as a tool only --- diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..f4b316a --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,56 @@ +# Contributing to raz + +raz is defined by its report, `doc/raz.md` and `doc/raz-lib.md`, and +the language is frozen: it changes only to mend a defect. What helps +most is finding where the compiler or the library does other than the +report says. + +## What is welcome + +- **Defect reports.** The compiler or the library doing other than the + report says, a crash of the compiler, wrong code, a wrong message. +- **Defect fixes**, for such a defect. +- **Documentation and tooling.** A mistake or an unclear passage in the + report, the manual pages or the guides; the editor support; the + examples. + +Language proposals and new features are unlikely to be accepted. That a +word is reserved, and that module names share one space with the +library's, are settled. + +## How + +Everything goes through GitHub issues. Pull requests are not taken. + +A report gives: + +- `raz --version`; +- the smallest program that shows the defect; +- what it does, and what the report says it should do, with the + section. + +A fix is offered only after the defect is agreed in its issue. It: + +- mends one thing, with a test: in `conform/` if the report alone fixes + the output, else in `test/` (`conform/check.sh` and `test/check.sh` + say how they are laid out); +- passes `make check` and `make fmt`; +- follows `STANDARDS.md` and keeps the compiler's style: plain code a + beginner can follow, a comment saying why, each rewrite explained + where it is done and in `doc/compiler.md`; +- keeps `src/` to what the release in `BOOT` can build; +- carries a `Signed-off-by:` line (`git commit -s`), certifying the + [Developer Certificate of Origin](https://developercertificate.org/). + +Every patch is reviewed before it is applied, and may be rewritten. + +## Tools, AI included + +A tool, an AI model among them, may help write a report or a patch. You +are its author: you must have read and understood every line, and be +able to answer for it in review. Reports and patches made by a tool on +its own are closed. + +## Licence + +raz is under the ISC licence (`LICENSE`), and so is every contribution. diff --git a/README.md b/README.md index 9427c4a..6defb7f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +
Release pages give each
version's commit, notes, compiler and source archives, with checksums.
Browse the source and history, or clone:
-git clone https://raz.lucelad.workers.dev/source/.
git clone https://raz.lucela.com/source/.
diff --git a/site/public/advanced/allocators.html b/site/public/advanced/allocators.html
index 2165b4f..c0c66be 100644
--- a/site/public/advanced/allocators.html
+++ b/site/public/advanced/allocators.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/advanced/asm.html b/site/public/advanced/asm.html
index 2db4b8f..b8b14fc 100644
--- a/site/public/advanced/asm.html
+++ b/site/public/advanced/asm.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/advanced/atomics.html b/site/public/advanced/atomics.html
index 1426ced..2a55199 100644
--- a/site/public/advanced/atomics.html
+++ b/site/public/advanced/atomics.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/advanced/bytes.html b/site/public/advanced/bytes.html
index 66a66d4..a122fa6 100644
--- a/site/public/advanced/bytes.html
+++ b/site/public/advanced/bytes.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/advanced/collections.html b/site/public/advanced/collections.html
index 91daa0f..cf3eaec 100644
--- a/site/public/advanced/collections.html
+++ b/site/public/advanced/collections.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/advanced/files.html b/site/public/advanced/files.html
index df78490..42c336a 100644
--- a/site/public/advanced/files.html
+++ b/site/public/advanced/files.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/advanced/fmt.html b/site/public/advanced/fmt.html
index 54d16d7..263095c 100644
--- a/site/public/advanced/fmt.html
+++ b/site/public/advanced/fmt.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/advanced/index.html b/site/public/advanced/index.html
index 956f9e8..3333e78 100644
--- a/site/public/advanced/index.html
+++ b/site/public/advanced/index.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/advanced/lifecycle.html b/site/public/advanced/lifecycle.html
index 617f33c..37f0b0a 100644
--- a/site/public/advanced/lifecycle.html
+++ b/site/public/advanced/lifecycle.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/advanced/linkstatic.html b/site/public/advanced/linkstatic.html
index 9b87e83..2b68e77 100644
--- a/site/public/advanced/linkstatic.html
+++ b/site/public/advanced/linkstatic.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/advanced/listing.html b/site/public/advanced/listing.html
index a83adb4..a33b91c 100644
--- a/site/public/advanced/listing.html
+++ b/site/public/advanced/listing.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/advanced/lockfree.html b/site/public/advanced/lockfree.html
index fb3dae0..3e42578 100644
--- a/site/public/advanced/lockfree.html
+++ b/site/public/advanced/lockfree.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/advanced/ordering.html b/site/public/advanced/ordering.html
index a512f9a..ea6a825 100644
--- a/site/public/advanced/ordering.html
+++ b/site/public/advanced/ordering.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/advanced/processes.html b/site/public/advanced/processes.html
index aa84c78..a5c6399 100644
--- a/site/public/advanced/processes.html
+++ b/site/public/advanced/processes.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/advanced/ring.html b/site/public/advanced/ring.html
index b36009a..4a31f5c 100644
--- a/site/public/advanced/ring.html
+++ b/site/public/advanced/ring.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/advanced/static.html b/site/public/advanced/static.html
index 2aa6416..45e02ef 100644
--- a/site/public/advanced/static.html
+++ b/site/public/advanced/static.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/advanced/syscalls.html b/site/public/advanced/syscalls.html
index 9e98864..9e9e3ab 100644
--- a/site/public/advanced/syscalls.html
+++ b/site/public/advanced/syscalls.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/advanced/targets.html b/site/public/advanced/targets.html
index d474557..10abe67 100644
--- a/site/public/advanced/targets.html
+++ b/site/public/advanced/targets.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/advanced/volatile.html b/site/public/advanced/volatile.html
index 04a52a9..0f4c339 100644
--- a/site/public/advanced/volatile.html
+++ b/site/public/advanced/volatile.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/index.html b/site/public/index.html
index 7e086e2..f720374 100644
--- a/site/public/index.html
+++ b/site/public/index.html
@@ -8,7 +8,7 @@
-
+
@@ -135,7 +135,7 @@
Release pages give each
version's commit, notes, compiler and source archives, with checksums.
Browse the source and history, or clone:
-git clone https://raz.lucelad.workers.dev/source/.
git clone https://raz.lucela.com/source/.
diff --git a/site/public/spec.html b/site/public/spec.html
index 0976d93..ff2f5ae 100644
--- a/site/public/spec.html
+++ b/site/public/spec.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/tour/c.html b/site/public/tour/c.html
index 0b5f128..4e88339 100644
--- a/site/public/tour/c.html
+++ b/site/public/tour/c.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/tour/checks.html b/site/public/tour/checks.html
index a4bc4e8..30ee0b9 100644
--- a/site/public/tour/checks.html
+++ b/site/public/tour/checks.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/tour/defer.html b/site/public/tour/defer.html
index 8eeeb15..5af2fbf 100644
--- a/site/public/tour/defer.html
+++ b/site/public/tour/defer.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/tour/errors.html b/site/public/tour/errors.html
index 6dec729..e4b0dc3 100644
--- a/site/public/tour/errors.html
+++ b/site/public/tour/errors.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/tour/generics.html b/site/public/tour/generics.html
index eff6e49..558336f 100644
--- a/site/public/tour/generics.html
+++ b/site/public/tour/generics.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/tour/hello.html b/site/public/tour/hello.html
index c12291d..1735d78 100644
--- a/site/public/tour/hello.html
+++ b/site/public/tour/hello.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/tour/index.html b/site/public/tour/index.html
index 2985c6b..9bba0eb 100644
--- a/site/public/tour/index.html
+++ b/site/public/tour/index.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/tour/integers.html b/site/public/tour/integers.html
index 98dd4fa..ecaab37 100644
--- a/site/public/tour/integers.html
+++ b/site/public/tour/integers.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/tour/memory.html b/site/public/tour/memory.html
index fa7778f..b04a597 100644
--- a/site/public/tour/memory.html
+++ b/site/public/tour/memory.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/tour/modules.html b/site/public/tour/modules.html
index ceaf4c1..42db4dd 100644
--- a/site/public/tour/modules.html
+++ b/site/public/tour/modules.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/tour/procedures.html b/site/public/tour/procedures.html
index bda2f3b..c07e766 100644
--- a/site/public/tour/procedures.html
+++ b/site/public/tour/procedures.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/tour/records.html b/site/public/tour/records.html
index e4d208e..b9ec3a3 100644
--- a/site/public/tour/records.html
+++ b/site/public/tour/records.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/tour/slices.html b/site/public/tour/slices.html
index 459c30d..27e9038 100644
--- a/site/public/tour/slices.html
+++ b/site/public/tour/slices.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/tour/threads.html b/site/public/tour/threads.html
index 7704e12..f3997e1 100644
--- a/site/public/tour/threads.html
+++ b/site/public/tour/threads.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/tour/values.html b/site/public/tour/values.html
index 99ae194..797e347 100644
--- a/site/public/tour/values.html
+++ b/site/public/tour/values.html
@@ -8,7 +8,7 @@
-
+
diff --git a/site/public/tour/variants.html b/site/public/tour/variants.html
index 2c76540..4256499 100644
--- a/site/public/tour/variants.html
+++ b/site/public/tour/variants.html
@@ -8,7 +8,7 @@
-
+
diff --git a/src/boot.sh b/src/boot.sh
index 8d4b918..8a1bc57 100755
--- a/src/boot.sh
+++ b/src/boot.sh
@@ -30,7 +30,7 @@
id=$(gh api repos/$repo/releases/tags/$tag --jq ".assets[] | select(.name == \"$t\") | .id" 2>/dev/null) &&
[ -n "$id" ] &&
gh api -H 'Accept: application/octet-stream' repos/$repo/releases/assets/$id >$d/$t 2>/dev/null ||
- curl -fsSL -o $d/$t https://raz.lucelad.workers.dev/download/$t 2>/dev/null ||
+ curl -fsSL -o $d/$t https://raz.lucela.com/download/$t 2>/dev/null ||
{ rm -f $d/$t; echo "boot: can't fetch $t; put it in $d" >&2; exit 1; }
fi
fi
diff --git a/wrangler.jsonc b/wrangler.jsonc
index bb647d2..892cd6f 100644
--- a/wrangler.jsonc
+++ b/wrangler.jsonc
@@ -5,5 +5,7 @@
"name": "raz",
"compatibility_date": "2026-10-01",
"build": { "command": "make site-source" },
- "assets": { "directory": "./site/public" }
+ "assets": { "directory": "./site/public" },
+ "workers_dev": true,
+ "routes": [{ "pattern": "raz.lucela.com", "custom_domain": true }]
}