This tutorial is not ready ;ASD
There is an Array of 30000 bytes you can play in. Every byte in array have the value of 0 by defualt. You will have a "pointer" wich you can move around in the array. When you are at a byte with your pointer you can either increment or decrement the value of it, output the value of it, store a value in it...
| > | Increment the pointer. |
| < | Decrement the pointer. |
| + | Increment the byte at the pointer. |
| - | Decrement the byte at the pointer. |
| . | Output the byte at the pointer in ASCII. |
| , | Input a byte and store it in the byte at the pointer. |
| [ | Jump forward past the matching ] if the byte at the pointer is zero. |
| ] | Jump backward to the matching [ unless the byte at the pointer is zero. |
You can use this ASCII-table to make things a little bit easier.
Ascii_Table-nocolor.svg (wikimedia)
Here you see 'Hello World!':
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Here is a while-loop
++
[
>+++<-
]
This tutorial is not ready ;ASD
Hosted by tunn.us