/basics.bf

Primary LanguageBrainfuckGNU General Public License v3.0GPL-3.0

basics.bf

The basics of the funny programming language called brainfuck.

what that lmao?

> = increases memory pointer, or moves the pointer to the right 1 block.
< = decreases memory pointer, or moves the pointer to the left 1 block.
+ = increases value stored at the block pointed to by the memory pointer
- = decreases value stored at the block pointed to by the memory pointer
[ = like c while(cur_block_value != 0) loop.
] = if block currently pointed to's value is not zero, jump back to ...
, = like c getchar(). input 1 character.
. = like c putchar(). print 1 character to the console.