aboutsummaryrefslogtreecommitdiffhomepage
path: root/samples/fun/quine.bruijn
diff options
context:
space:
mode:
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]