Brain Online Visualizer does not perform any optimization on the interpreted code. If you want to run it faster, please visit the Brain Compiler project: https://github.com/brain-labs/brain

Examples

- Pow

++++++++++ make number 10 at cell 0 >+*** make 10 to its cube # print out debug information Try it!

- If-Else

+++ make the value 3 at cell 0 [ start infinite loop ? if cell 0 greater than 0 break ! : else add 1 + ; ] # print out debug information with value 3 at cell 0 Try it!

- Fibonacci

+#>+# initialization [ >+* copy the value from cell 1 to cell 2 <>+<># move to cell 2 and print it out ] Try it!

- Hell Box

[]>+>+>++>++[->++++<]<----.>->+.+++++++..+++.+>+>++>++[->++++<]<----.>>+.+++++++..+++ ] [ .>.<<>.+++.------.--------.>+.>++. ] [ -- Robert de Bath -- 2014 ] []>>.<<>.+++.------.--------.>+.+>++.<<Try it!

- Even or Odd