From 1f1230ca264f894577372906dbe401f8759d2c86 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Fri, 26 Jan 2024 15:39:37 -0800 Subject: second image --- blog/img/stack2.png | Bin 0 -> 19206 bytes blog/stem.org | 2 ++ 2 files changed, 2 insertions(+) create mode 100644 blog/img/stack2.png (limited to 'blog') diff --git a/blog/img/stack2.png b/blog/img/stack2.png new file mode 100644 index 0000000..efd6391 Binary files /dev/null and b/blog/img/stack2.png differ diff --git a/blog/stem.org b/blog/stem.org index 4a88db4..6becdc5 100644 --- a/blog/stem.org +++ b/blog/stem.org @@ -177,6 +177,8 @@ where the word ~if~ just checks if the third thing from the top of the stack (th whatever's inside the first quote, otherwise execute the second quote. Note that this wording is a little bit confusing because the /first thing you write/ is also the /last thing on the stack/ because adding new things to the stack puts the first thing /below/ the second. +[[file:./img/stack2.png]] + Now, also observe that inside the quotes we are storing valid code. This will become important later on as we introduce the concept of /metaprogramming/. First, though, we have to introduce a couple more important predefined words. -- cgit