aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMarvin Borner2024-03-16 14:19:56 +0100
committerMarvin Borner2024-03-16 14:19:56 +0100
commite8a440a0b717621cce239499be22ea038a0093f5 (patch)
treec336ede805195172c1de48f0ec096bb05f3c5df2
parent65a094a4ee67f16ff5ed7663c2b3dd6d85c19c00 (diff)
Added two fun animations
-rwxr-xr-xdocs/genstd.sh1
-rw-r--r--docs/mkdocs.yml1
-rw-r--r--docs/wiki_src/introduction/animations.md11
3 files changed, 12 insertions, 1 deletions
diff --git a/docs/genstd.sh b/docs/genstd.sh
index a766826..df585ea 100755
--- a/docs/genstd.sh
+++ b/docs/genstd.sh
@@ -11,7 +11,6 @@ prefix="seeelefant"
for file in $files; do
name=$(cut -c8- <<<"$file")
_prefix=$(cut -c8- <<<"$file" | sed -rn 's@^(.*)/.*$@\1@p')
- echo "$_prefix"
if ! [ "$prefix" = "$_prefix" ]; then
prefix=$_prefix
links="$links\n</ol><h2>std/$prefix</h2><ol>"
diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml
index 5f7f14f..5efdac1 100644
--- a/docs/mkdocs.yml
+++ b/docs/mkdocs.yml
@@ -19,6 +19,7 @@ nav:
- introduction/setup.md
- introduction/lambda-calculus.md
- introduction/syntax.md
+ - introduction/animations.md
- Coding:
- coding/REPL.md
- coding/mixfix.md
diff --git a/docs/wiki_src/introduction/animations.md b/docs/wiki_src/introduction/animations.md
new file mode 100644
index 0000000..1029a43
--- /dev/null
+++ b/docs/wiki_src/introduction/animations.md
@@ -0,0 +1,11 @@
+# Animations
+
+## Id substitution
+
+<iframe width="560" height="315" src="https://www.trangram.com/embed/65f58fa7f4ece1d0d03209b9?repeat" title="Substitution in bruijn" frameborder="0" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; web-share" allowfullscreen>
+</iframe>
+
+## Omega beta reduction
+
+<iframe width="560" height="315" src="https://www.trangram.com/embed/65f593e2f4ece1d0d0320a8e?repeat" title="Omega reduction in bruijn" frameborder="0" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; web-share" allowfullscreen>
+</iframe>