Execute Brain****: Difference between revisions
Content added Content deleted
imported>Tromp (Brainfuck in BLC) |
imported>Tromp |
||
Line 2,953: | Line 2,953: | ||
=={{header|Binary Lambda Calculus}}== |
=={{header|Binary Lambda Calculus}}== |
||
The following 224-byte program |
|||
The following 112-byte brainfuck interpreter was included in my IOCCC entry https://www.ioccc.org/2012/tromp/hint.html: |
|||
<syntaxhighlight> |
<syntaxhighlight>0000000 44 51 a1 01 84 55 d5 02 b7 70 30 22 ff 32 f0 00 |
||
0000020 bf f9 85 7f 5e e1 6f 95 7f 7d ee c0 e5 54 68 00 |
|||
7f85f9bf 956fe15e c0ee7d7f 006854e5 |
|||
0000040 58 55 fd fb e0 45 57 fd eb fb f0 b6 f0 2f d6 07 |
|||
fbfd5558 fd5745e0 b6f0fbeb 07d62ff0 |
|||
0000060 e1 6f 73 d7 f1 14 bc c0 0b ff 2e 1f a1 6f 66 17 |
|||
0000100 e8 5b ef 2f cf ff 13 ff e1 ca 34 20 0a c8 d0 0b |
|||
2fef5be8 ff13ffcf 2034cae1 0bd0c80a |
|||
0000120 99 ee 1f e5 ff 7f 5a 6a 1f ff 0f ff 87 9d 04 d0 |
|||
e51fee99 6a5a7fff ff0fff1f d0049d87 |
|||
0000140 ab 00 05 db 23 40 b7 3b 28 cc c0 b0 6c 0e 74 10 |
|||
db0500ab 3bb74023 b0c0cc28 10740e6c |
|||
0000160 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 5b 3e 2b 2b 2b 2b |
|||
0000200 2b 2b 2b 3e 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 3e 2b |
|||
0000220 2b 2b 3e 2b 3c 3c 3c 3c 2d 5d 3e 2b 2b 2e 3e 2b |
|||
0000240 2e 2b 2b 2b 2b 2b 2b 2b 2e 2e 2b 2b 2b 2e 3e 2b |
|||
0000260 2b 2e 3c 3c 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b |
|||
0000300 2b 2b 2b 2e 3e 2e 2b 2b 2b 2e 2d 2d 2d 2d 2d 2d |
|||
0000320 2e 2d 2d 2d 2d 2d 2d 2d 2d 2e 3e 2b 2e 3e 2e 5d<syntaxhighlight> |
|||
program consists of the 112-byte brainfuck interpreter https://github.com/tromp/AIT/blob/master/bf.blc8 followed by the 112-byte brainfuck hello world program |
|||
<syntaxhighlight>++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.]</syntaxhighlight> |
|||
and produces output |
|||
<syntaxhighlight>Hello World! |
|||
</syntaxhighlight> |
</syntaxhighlight> |
||