summaryrefslogtreecommitdiff
path: root/input.stk
diff options
context:
space:
mode:
authorJuan Manuel Tomás <jtomas1815@gmail.com>2022-07-08 22:48:47 -0300
committerJuan Manuel Tomás <jtomas1815@gmail.com>2022-07-08 22:48:47 -0300
commitadbc4248120e245fb68f8658bb765fe04c6ecdab (patch)
tree61f6331ccdf0f517b19ef3ea36087e617bc50b67 /input.stk
parent653fdc8cdc1040cc5647a7cebfd274bf49bd8a21 (diff)
downloadstk-adbc4248120e245fb68f8658bb765fe04c6ecdab.tar.gz
stk-adbc4248120e245fb68f8658bb765fe04c6ecdab.zip
Make this thing probably turing complete
Diffstat (limited to 'input.stk')
-rw-r--r--input.stk6
1 files changed, 3 insertions, 3 deletions
diff --git a/input.stk b/input.stk
index 51e3270..8b4f68f 100644
--- a/input.stk
+++ b/input.stk
@@ -1,3 +1,3 @@
-5 dup * dup * dup * print
-34 35 + print
-1 0 - print
+Loops ten times asking for user input. If the input is 0 or nothing, print 69420, else print back the number from the input.
+10 [ 0 1 , [ ~ . ! -- ] [ 69420 . ! ] -- ]
+