aboutsummaryrefslogtreecommitdiff
path: root/docs/history/07-zygote/code/examples
diff options
context:
space:
mode:
authorGravatar Moon Flower <moonflower@elhenney.local> 2026-10-14 09:09:21 +0330
committerGravatar Moon Flower <moonflower@elhenney.local> 2026-10-14 09:09:21 +0330
commitdc7f7407e08f54e4a2a3c1d1723b2a7d6959532d (patch)
treed1de9f471a99951c57896f85b5e5523eeb96cee1 /docs/history/07-zygote/code/examples
parenttodo: sync docs, examples and fixtures with the include format, and test acto... (diff)
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.
Diffstat (limited to 'docs/history/07-zygote/code/examples')
-rw-r--r--docs/history/07-zygote/code/examples/asmain.s9
-rw-r--r--docs/history/07-zygote/code/examples/echo.s1
-rw-r--r--docs/history/07-zygote/code/examples/fact.s3
-rw-r--r--docs/history/07-zygote/code/examples/hello.s2
-rw-r--r--docs/history/07-zygote/code/examples/sm.s3
5 files changed, 0 insertions, 18 deletions
diff --git a/docs/history/07-zygote/code/examples/asmain.s b/docs/history/07-zygote/code/examples/asmain.s
deleted file mode 100644
index 96d9658..0000000
--- a/docs/history/07-zygote/code/examples/asmain.s
+++ /dev/null
@@ -1,9 +0,0 @@
-:;standalone:_source_on_Q,_binary_on_G
-4000 a.q !
-:m.rd ? m.ch z 0 a.q @ ! m.go j
-:m.ch , a.q @ ! a.q @ 1 + a.q ! m.rd j
-:m.go 4000 a.src ! 40000 a.dst ! 0 a.org ! 50000 a.lab ! a.run c 0 a.j !
-:m.out a.j @ a.n @ < m.end z
- 40000 a.j @ + @ 0 $ . 0 $ 8 > . 0 $ 16 > . 24 > .
- a.j @ 1 + a.j ! m.out j
-:m.end q
diff --git a/docs/history/07-zygote/code/examples/echo.s b/docs/history/07-zygote/code/examples/echo.s
deleted file mode 100644
index 002935d..0000000
--- a/docs/history/07-zygote/code/examples/echo.s
+++ /dev/null
@@ -1 +0,0 @@
-:l ? x z q :x , . l j
diff --git a/docs/history/07-zygote/code/examples/fact.s b/docs/history/07-zygote/code/examples/fact.s
deleted file mode 100644
index 21f6e32..0000000
--- a/docs/history/07-zygote/code/examples/fact.s
+++ /dev/null
@@ -1,3 +0,0 @@
-10 fa c pb c 10 . q
-:fa 0 $ 2 < fb z _ 1 r :fb 0 $ 1 - fa c * r
-:pb 0 $ 1 > 0 $ p1 z pb c pd j :p1 _ :pd 1 & 48 + . r
diff --git a/docs/history/07-zygote/code/examples/hello.s b/docs/history/07-zygote/code/examples/hello.s
deleted file mode 100644
index e5baf1a..0000000
--- a/docs/history/07-zygote/code/examples/hello.s
+++ /dev/null
@@ -1,2 +0,0 @@
-s :l 0 $ @ 0 $ e z . 1 + l j :e q
-:s "hello, #32 "world! #10 #0
diff --git a/docs/history/07-zygote/code/examples/sm.s b/docs/history/07-zygote/code/examples/sm.s
deleted file mode 100644
index 954886e..0000000
--- a/docs/history/07-zygote/code/examples/sm.s
+++ /dev/null
@@ -1,3 +0,0 @@
-133 x ! :x 65 . 10 .
-fn c 133 fn ! fn c 131 fn ! fn c 10 . q
-:fn 65 . r