From dc7f7407e08f54e4a2a3c1d1723b2a7d6959532d Mon Sep 17 00:00:00 2001 From: Moon Flower Date: Wed, 14 Oct 2026 09:09:21 +0330 Subject: docs: archive the frozen stage code as one compressed tarball docs/history kept six stages with a full copy of the project under code/, 3.8 mb of sources duplicated from stage to stage and already superseded. store them as docs/history/code-snapshots.tar.gz, 0.66 mb, and extract one in place to read it. every stage's notes.md stays browsable, and the index says where the code went and how to get it back. the top-level README points at the archive too. its other two links into docs/history, 21-micro and 35-bench, were notes that were never kept and do not resolve; the index now records that. --- docs/history/15-o3/code/tests/langerrors/const_index.zc | 2 -- docs/history/15-o3/code/tests/langerrors/fixed_nolen.zc | 2 -- docs/history/15-o3/code/tests/langerrors/fixed_push.zc | 2 -- docs/history/15-o3/code/tests/langerrors/fixed_to_dyn.zc | 4 ---- docs/history/15-o3/code/tests/langerrors/o3_addr.zc | 2 -- docs/history/15-o3/code/tests/langerrors/o3_asm.zc | 2 -- docs/history/15-o3/code/tests/langerrors/o3_let.zc | 2 -- docs/history/15-o3/code/tests/langerrors/o3_param.zc | 3 --- 8 files changed, 19 deletions(-) delete mode 100644 docs/history/15-o3/code/tests/langerrors/const_index.zc delete mode 100644 docs/history/15-o3/code/tests/langerrors/fixed_nolen.zc delete mode 100644 docs/history/15-o3/code/tests/langerrors/fixed_push.zc delete mode 100644 docs/history/15-o3/code/tests/langerrors/fixed_to_dyn.zc delete mode 100644 docs/history/15-o3/code/tests/langerrors/o3_addr.zc delete mode 100644 docs/history/15-o3/code/tests/langerrors/o3_asm.zc delete mode 100644 docs/history/15-o3/code/tests/langerrors/o3_let.zc delete mode 100644 docs/history/15-o3/code/tests/langerrors/o3_param.zc (limited to 'docs/history/15-o3/code/tests/langerrors') diff --git a/docs/history/15-o3/code/tests/langerrors/const_index.zc b/docs/history/15-o3/code/tests/langerrors/const_index.zc deleted file mode 100644 index 03e927b..0000000 --- a/docs/history/15-o3/code/tests/langerrors/const_index.zc +++ /dev/null @@ -1,2 +0,0 @@ -// expect: the index is out of range for this array -fn main() { [4]int a; a[4] = 1; return 0; } diff --git a/docs/history/15-o3/code/tests/langerrors/fixed_nolen.zc b/docs/history/15-o3/code/tests/langerrors/fixed_nolen.zc deleted file mode 100644 index b79c31e..0000000 --- a/docs/history/15-o3/code/tests/langerrors/fixed_nolen.zc +++ /dev/null @@ -1,2 +0,0 @@ -// expect: a fixed array needs its length -fn main() { fixed []int f = new(fixed []int); free(d*f); return 0; } diff --git a/docs/history/15-o3/code/tests/langerrors/fixed_push.zc b/docs/history/15-o3/code/tests/langerrors/fixed_push.zc deleted file mode 100644 index a19bcb4..0000000 --- a/docs/history/15-o3/code/tests/langerrors/fixed_push.zc +++ /dev/null @@ -1,2 +0,0 @@ -// expect: a fixed array can't grow or shrink -fn main() { fixed []int f = new(fixed []int, 3); push(f, 1); free(d*f); return 0; } diff --git a/docs/history/15-o3/code/tests/langerrors/fixed_to_dyn.zc b/docs/history/15-o3/code/tests/langerrors/fixed_to_dyn.zc deleted file mode 100644 index 483f62f..0000000 --- a/docs/history/15-o3/code/tests/langerrors/fixed_to_dyn.zc +++ /dev/null @@ -1,4 +0,0 @@ -// expect: type error: argument: expected []int, got fixed []int -typecheck on; -int take([]int.m g) { return len(g); } -fn main() { fixed []int f = new(fixed []int, 3); take(f); free(d*f); return 0; } diff --git a/docs/history/15-o3/code/tests/langerrors/o3_addr.zc b/docs/history/15-o3/code/tests/langerrors/o3_addr.zc deleted file mode 100644 index 815253d..0000000 --- a/docs/history/15-o3/code/tests/langerrors/o3_addr.zc +++ /dev/null @@ -1,2 +0,0 @@ -// expect: an o3 variable has no address -fn main() { o3 int z = 2; *int q = &z; return *q; } diff --git a/docs/history/15-o3/code/tests/langerrors/o3_asm.zc b/docs/history/15-o3/code/tests/langerrors/o3_asm.zc deleted file mode 100644 index c8afb44..0000000 --- a/docs/history/15-o3/code/tests/langerrors/o3_asm.zc +++ /dev/null @@ -1,2 +0,0 @@ -// expect: asm can't reach an o3 variable -fn main() { o3 int zz = 2; asm { zz @ _ } return 0; } diff --git a/docs/history/15-o3/code/tests/langerrors/o3_let.zc b/docs/history/15-o3/code/tests/langerrors/o3_let.zc deleted file mode 100644 index d2aff9a..0000000 --- a/docs/history/15-o3/code/tests/langerrors/o3_let.zc +++ /dev/null @@ -1,2 +0,0 @@ -// expect: o3 variables need a type -fn main() { o3 { let x = 1; x++; } return 0; } diff --git a/docs/history/15-o3/code/tests/langerrors/o3_param.zc b/docs/history/15-o3/code/tests/langerrors/o3_param.zc deleted file mode 100644 index 5694720..0000000 --- a/docs/history/15-o3/code/tests/langerrors/o3_param.zc +++ /dev/null @@ -1,3 +0,0 @@ -// expect: o3 parameters need a type -o3 int f(x) { return x; } -fn main() { return f(1); } -- cgit v1.2.3