aboutsummaryrefslogtreecommitdiffhomepage
path: root/samples/fun/quine.bruijn
diff options
context:
space:
mode:
authorMarvin Borner2023-03-05 17:27:15 +0100
committerMarvin Borner2023-03-05 17:27:15 +0100
commit626e9d9f062230e97d764660a8d0d1c8c05b9fcb (patch)
treebedb6b630a93623e954b087ec92d67dfa78f90b6 /samples/fun/quine.bruijn
parent1ecc2c62041d79ea04383eca10244b8d411ce0d9 (diff)
More samples
Diffstat (limited to 'samples/fun/quine.bruijn')
-rw-r--r--samples/fun/quine.bruijn6
1 files changed, 6 insertions, 0 deletions
diff --git a/samples/fun/quine.bruijn b/samples/fun/quine.bruijn
new file mode 100644
index 0000000..f1a4f85
--- /dev/null
+++ b/samples/fun/quine.bruijn
@@ -0,0 +1,6 @@
+# "bruijn -b quine.bruijn >quine"
+# "cat quine | bruijn -e quine"
+# compare with "od -t u1 quine"
+# duplicates input, John Tromp
+
+main [0 ([0 0] [[[[[0 3 (2 (4 4) 1)]]]]]) 0]