diff options
author | Marvin Borner | 2023-03-05 17:27:15 +0100 |
---|---|---|
committer | Marvin Borner | 2023-03-05 17:27:15 +0100 |
commit | 626e9d9f062230e97d764660a8d0d1c8c05b9fcb (patch) | |
tree | bedb6b630a93623e954b087ec92d67dfa78f90b6 /samples/fun | |
parent | 1ecc2c62041d79ea04383eca10244b8d411ce0d9 (diff) |
More samples
Diffstat (limited to 'samples/fun')
-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] |