source: trunk/Examples/Others/random.b

Last change on this file was 11, checked in by chronos, 12 years ago
  • Added: Some other examples from web.
File size: 422 bytes
Line 
1>>>++[
2 <++++++++[
3 <[<++>-]>>[>>]+>>+[
4 -[->>+<<<[<[<<]<+>]>[>[>>]]]
5 <[>>[-]]>[>[-<<]>[<+<]]+<<
6 ]<[>+<-]>>-
7 ]<.[-]>>
8]
9"Random" byte generator using the Rule 30 automaton.
10Doesn't terminate; you will have to kill it.
11To get x bytes you need 32x+4 cells.
12Turn off any newline translation!
13Daniel B Cristofani (cristofdathevanetdotcom)
14http://www.hevanet.com/cristofd/brainfuck/
Note: See TracBrowser for help on using the repository browser.