summary refs log tree commit diff
path: root/quine.e
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-05-04 04:21:22 -0700
committerIrene Knapp <ireneista@irenes.space>2026-05-04 04:21:22 -0700
commit060041c9b13dca4b90ea929b1074e90499800d58 (patch)
tree8caacdd9b0ce326de2cb8b0ecf4d6b94e7eb62b7 /quine.e
parent9baf684be6af1c96db269ebf844c1af32dd07b0e (diff)
add a program in Evocation which outputs itself (yay :))
Force-Push: yes
Change-Id: Ifda674d7bdd6243bf879ad5964b56791c6f33b90
Diffstat (limited to 'quine.e')
-rw-r--r--quine.e1
1 files changed, 1 insertions, 0 deletions
diff --git a/quine.e b/quine.e
new file mode 100644
index 0000000..a58b2f3
--- /dev/null
+++ b/quine.e
@@ -0,0 +1 @@
+: go 0x0a 0x2022 value@ dup 8 + s" : go 0x0a 0x2022 value@ dup 8 + s" s" s" s" dup { dup } { 1- dup 2 + pick dup { 2 pick + pick emitstring } { drop over { dup } { 1- dup 3 + pick . space } while drop over . space } if-else } while ; go bye" 4 6 4 6 3 6 3 6 3 6 2 6 0 2 5 15 dup { dup } { 1- dup 2 + pick dup { 2 pick + pick emitstring } { drop over { dup } { 1- dup 3 + pick . space } while drop over . space } if-else } while ; go bye