Brainfuck is a complete Turing language, (http://brainfuck.org/utm.b).
For who do not know brainfunk, look at code bellow, see also http://www.hevanet.com/cristofd/08.html
[golden.b -- compute golden ratio (c) 2019 Daniel B. Cristofani http://brainfuck.org/] +>>>>>>>++>+>+>+>++< [ +[--[++>>--]->--[ +[+<+[-<<+]++<< [-[->-[>>-]++<[<<]++<<-]+<<] >>>>-<<<<<++<-<<++++++ [<++++++++>-]<.---< [->.[-]+++++>]> [[-]>>] ]+>>--]+<+[-<+<+]++>> ]<<<<[[<<]>>[-[+++<<-]+>>-]++[<<]<<<<<+>] >[->>[[>>>[>>]+[-[->>+>>>>-[-[+++<<[-]]+>>-] ++[<<]]+<<]<-]<]]>>>>>>> ] This program computes the "golden ratio" (https://oeis.org/A001622). Because this number is infinitely long, this program doesn't terminate on its own; you will have to kill it.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.