BrainFuck the programming language >+++
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
ascii.bf
bell.bf
happybirthday.bf
helloworld.bf
helloworld2.bf
in.bf
main.c
nestedHelloWorld.bf
nestedloop.bf

README.md

brainfuck

BrainF*** http://ken-soft.com/2011/01/14/brainfuck-programming-language-minor-varient/

brainfuck command C equivalent

> 	++CP;
< 	–CP;
+ 	++*CP;
- 	–*CP;
[ 	while (*CP) {
] 	}
c 	printf(“%c”,(char)*CP)
d 	printf(“%u”,*CP);
C 	while (scanf(“%c”, CP) != 1);
D 	while (scanf(“%u”, CP) != 1);
M 	Print out Cell and Pointers
I 	Print out Instruction Pointer

CP is the Cell Pointer

Hello World.bf

+++++ +++++
[
    > +++++ ++
    > +++++ +++++
    > +++
    > +
 
    <<<< -
]
> ++ .
> + .
+++++ ++ .
.
+++ .
> ++ .
<< +++++ +++++ +++++ .
> .
+++ .
----- - .
----- --- .
> + .
> .
M