It's abt Brain F**K


It was a Boring Saturday again :P
So jus started exploring Brain F**K an awesome weird programming language 
It has got just 8 alphabets + - < > , . [ ] that's it :) 
This is like Maagi of programming languages :D

. - Prints the current byte
+ - Increments the byte pointed to
- - Decrements the byte pointed to
< - Moves to previous byte
> - Moves to the next byte
[ - Executes the instructions until ]
] - Executes the instructions from [ until the current byte carries 0
, - getchar()
U wanna know the C representation of Brain F**K char array[30000]; char *pointer; That's it :) It has a global array of size 30000 with a pointer pointing to it :) So I'm curious and tried this one
+++++ +++++ [>+>+++++++ >+++++++>++ ++++++<<<<-]>>>+++.<<. >>+++.+++.>++++++.<< -.<.>>>+++.<.>---- .<<<.>>>>+[[-] ,.------- --- ]
So now UR curious? Jus Click the link to Execute this 1. Copy paste the code 2. Type some Name r the One u like in the input Eg. xxx'\n' ('\n' - For clarity it is actually Enter in ur keyboard.) Don't forget to hit an enter at the end of the name else the code ll stuck in infinite loop 3. And Execute it :) 4. Don't laugh you are a culprit :P :P Who is that guy r girl? :D I'm done :) U also wanna explore? U have one link ahead Brain F**K

Comments

Popular posts from this blog

Headless Chrome/Firefox Selenium Java in Amazon EC2

Cassandra PHPCassa & Composite Types

Selenium Webdriver in Nodejs + Javascript