diff options
Diffstat (limited to 'samples')
-rw-r--r-- | samples/fun/huge.bruijn | 4 | ||||
-rw-r--r-- | samples/fun/quine.bruijn | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/samples/fun/huge.bruijn b/samples/fun/huge.bruijn new file mode 100644 index 0000000..2d963ad --- /dev/null +++ b/samples/fun/huge.bruijn @@ -0,0 +1,4 @@ +# "bruijn huge.bruijn" +# 55 bits inflating to 65536 bits, John Tromp + +main [[0 0 0 0 [[0 [[0]] 1]]] [[1 (1 0)]]] 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] |