how long to learn brainfuck code example
Example: learn brainF***
30,000 memory blocks:
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, etc.
one pointer:
^
> - moves the pointer to the right
< - moves the pointer to the left
- - subtracts one from the block pointed to
+ - adds one to the block pointed to
, - sets the block pointed at to the ASCII value of the first letter of the users input
. - prints the charachter with the ASCII value of the block that is pointed to
[ - the start of a while(block_pointed_to != 0) loop
] - end of a while(block_pointed_to != 0) loop