diff options
author | Preston Pan <preston@nullring.xyz> | 2024-01-12 11:02:57 -0800 |
---|---|---|
committer | Preston Pan <preston@nullring.xyz> | 2024-01-12 11:02:57 -0800 |
commit | 0045795a808d2017bd8e7db9b43a57192ba5eed7 (patch) | |
tree | 7552943016e4c436ba5dae1ad63be0c29e0c3963 /MAINPAGE.md | |
parent | 8d9709720b8b7007d7178723c93feb6c881e546a (diff) |
add loop
Diffstat (limited to 'MAINPAGE.md')
-rw-r--r-- | MAINPAGE.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/MAINPAGE.md b/MAINPAGE.md index 0ba8c25..efea70a 100644 --- a/MAINPAGE.md +++ b/MAINPAGE.md @@ -42,3 +42,9 @@ Let's take a closer look at the quote: `.` takes the first thing off the stack and prints it. In this case, it would print a prompt `> ` every REPL loop. `read` reads a value from stdin, then `strquote` turns that string into a quote. `eval` pops the first thing off the stack and evaluates the quote in the same way calling a function does, and then finally `repl` gets called again at the end so we can loop forever. + +## Factorial +Let's take a closer look at the factorial function: +``` + +``` |