testing3/bf.scala
changeset 160 863feeb5c760
parent 154 39c6b93718f0
child 161 6ea450e999e2
equal deleted inserted replaced
159:92c31cbb1952 160:863feeb5c760
   140 start("""++++[>+++++<-]>[<+++++>-]+<+[
   140 start("""++++[>+++++<-]>[<+++++>-]+<+[
   141     >[>+>+<<-]++>>[<<+>>-]>>>[-]++>[-]+
   141     >[>+>+<<-]++>>[<<+>>-]>>>[-]++>[-]+
   142     >>>+[[-]++++++>>>]<<<[[<++++++++<++>>-]+<.<[>----<-]<]
   142     >>>+[[-]++++++>>>]<<<[[<++++++++<++>>-]+<.<[>----<-]<]
   143     <<[>>>>>[>>>[-]+++++++++<[>-<-]+++++++++>[-[<->-]+[<<<]]<[>+<-]>]<<-]<<-]""", Map())
   143     <<[>>>>>[>>>[-]+++++++++<[>-<-]+++++++++>[-[<->-]+[<<<]]<[>+<-]>]<<-]<<-]""", Map())
   144 
   144 
   145 
       
   146 //collatz numbers (need to be typed in)
   145 //collatz numbers (need to be typed in)
   147 start(""">,[[----------[
   146 start(""">,[[----------[
   148       >>>[>>>>]+[[-]+<[->>>>++>>>>+[>>>>]++[->+<<<<<]]<<<]
   147       >>>[>>>>]+[[-]+<[->>>>++>>>>+[>>>>]++[->+<<<<<]]<<<]
   149       ++++++[>------<-]>--[>>[->>>>]+>+[<<<<]>-],<]>]>>>++>+>>[
   148       ++++++[>------<-]>--[>>[->>>>]+>+[<<<<]>-],<]>]>>>++>+>>[
   150       <<[>>>>[-]+++++++++<[>-<-]+++++++++>[-[<->-]+[<<<<]]<[>+<-]>]
   149       <<[>>>>[-]+++++++++<[>-<-]+++++++++>[-[<->-]+[<<<<]]<[>+<-]>]