How can I decode this strange text?
+[----->+++<]>++.+++.+++.+++++++.+[->+++<]>.[--->+<]>----.--------.[--->+<]>.---------.-----------.++.+++++++++++.+++[->+++<]>++.+.
This text should be a program.
How can I decode this strange text?
+[----->+++<]>++.+++.+++.+++++++.+[->+++<]>.[--->+<]>----.--------.[--->+<]>.---------.-----------.++.+++++++++++.+++[->+++<]>++.+.
This text should be a program.
The program outputs 'iloveskypegrab' when ran. It's a extremely simplified programming language called brainfuck.
As Torkoal's answer says, it does indeed print iloveskypegrab
when run. Let me explain what this program does, exactly:
Brainf**k (which will be referred to as BF) operates on an array of memory cells, also referred to as the tape, each initially set to zero. There is a pointer, initially pointing to the first memory cell. The commands are:
>
Move the pointer to the right<
Move the pointer to the left+
Increment the memory cell under the pointer-
Decrement the memory cell under the pointer.
Output the character signified by the cell at the pointer,
Input a character and store it in the cell at the pointer[
Jump past the matching ]
if the cell under the pointer is 0]
Jump back to the matching [
if the cell under the pointer is nonzeroAll characters other than ><+-.,[]
are comments and are ignored by the BF interpreter.
I won't explain too much here. Let's split up the program, piece by piece:
+[----->+++<]
>++.
i
.+++.+++.
lo
.+++++++.
v
.+[->+++<]
>.
e
.[--->+<]
e
in it. While it's not zero, add one to the cell to the right.>----.
s
.--------.
k
.[--->+<]
>.
y
.---------.
p
.----------.
e
.++.+++++++++++.
gr
.+++[->+++<]
>++.+.
ab
.I hope this helped you! Let me know if something is wrong.