Diffstat (limited to 'stackd')
-rw-r--r--stackd26
1 files changed, 17 insertions, 9 deletions
diff --git a/stackd b/stackd
index 2ec05e9..71d34ac 100644
--- a/stackd
+++ b/stackd
@@ -1,18 +1,26 @@
"1abc25hriwm4"
+// usage: 0 🐒 λ(<5) λ(1+) 🐬☎️
+🐬 ← Ξ» (
+ / evaluate the condition /
+ Ξ»(🐒πŸͺ£β˜ŽοΈ)✊✊
+ πŸ‹ (
+ / evaluate the body /
+ 🐒☎️
+ / recurse /
+ 🐬☎️
+ )
+)
+
// { str β†’ int }
line ← Ξ» (
- '0'>πŸ”Ž'9'<πŸ”Ž
+ '0'>πŸ”“'9'<πŸ”“
'9'-
- // modifiers are placed in front
- πŸ˜β¬…βž‘
+ β¬…βž‘πŸ΄
10Γ—+
)
-πŸ’β‰ '\n'🚧
-// run function on all values, pushing to the stack
+πŸ’β‰’'\n'🚧
+/ run function on all values, pushing to the stack /
⏭️line
-// reduce the stack
+/ reduce the stack /
β†˜οΈ+
-
-// true πŸ‹ (+ 🐳 -)
-// if true { + } else { - } \ No newline at end of file