Diffstat (limited to 'src/stackd')
-rw-r--r--src/stackd15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/stackd b/src/stackd
new file mode 100644
index 0000000..8c48039
--- /dev/null
+++ b/src/stackd
@@ -0,0 +1,15 @@
+"1abc25hriwm4"
+// { str β†’ int }
+line ← Ξ» (
+ '0'>πŸ”Ž'9'<πŸ”Ž
+ '9'-
+ // modifiers are placed in front
+ πŸ˜β¬…βž‘
+ 10Γ—+
+)
+
+πŸ’β‰ '\n'🚧
+// run function on all values, pushing to the stack
+⏭️line
+// reduce the stack
+β†˜οΈ+ \ No newline at end of file