aboutsummaryrefslogtreecommitdiff
path: root/blog/stem.org
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2024-01-26 15:39:37 -0800
committerPreston Pan <preston@nullring.xyz>2024-01-26 15:39:37 -0800
commit1f1230ca264f894577372906dbe401f8759d2c86 (patch)
tree73b5df4856d781aa81a024d968709c8ee29a8de1 /blog/stem.org
parenta8cb632d9992f089571f51d79a1301fa6b9949d4 (diff)
second image
Diffstat (limited to 'blog/stem.org')
-rw-r--r--blog/stem.org2
1 files changed, 2 insertions, 0 deletions
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.