falled in love with brainfuck

oh boy, i just falled in love with brainfuck.

playinfo – seenu is a text manipulating geek, eightnoteight knows nothing but a few programming skills, very few

seenu:
O.O
oh boy, i just falled in love with brainfuck.
now i can’t wait to design a program which will reverse a string

eightnoteight:
~?~

seenu:
i don’t know, how do we actually reverse a string, first of all reverse my name

eightnoteight:
your name contains 5 chars, so

>>>>,<,<,<,<,.>.>.>.>.

seenu:
;]
oh that’s great, you are awesome
but actually i have a poor memory
so i don’t remember my name
and i may type some thing like
srinivas
and the program will fail,
;[

eightnoteight:
ah, then i have to do something
[5 minutes of jumping, hitting to the wall]
i got it now!

,————————————————[[>],[<]>-]>[>]<[.<]
but you have to say the number of chars in your string.
incase if you need an EOF version, take this one
,[>,]<[.<]

seenu:
😦
i couldn’t understand

eightnoteight:
try this one

>
,
------------------------------------------------
[
[
>
]
,
[
<
]
>-
]
>
[
>
]
<
[
.<
]

is that ok!

seenu:
😉
it’s great.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s