Malbrain

From Esolang

Jump to: navigation, search

Malbrain is an esoteric programming language with only 2 commands: ">" and ".". Due to the design, it is also extremely hard to maintain, since each command is relative to the previous.

Malbrain is translated to Brainfuck. The commands are:
> = Next command
. = Use command

The command number starts at 0 at the beginning, which is ">". The output commands are as follows: ><+-.,[]
Like brainfuck, all non commands are considered comments. If the command goes past the list, it restarts to 0.

This is the brainfuck hello world converted to malbrain

.>>.........>>>>.>>>.>........>>>>>>.>>>.>>>>.>>.>>>.>>>>.
>>.......>>>>.>>>.>....>>>>>>.>>>.>>>>.>>.>.>>.>>>>>>.......
>>..>>>>>>...>>.>>>>...>>........>>>>.>>>.>....>>>>>>.>>>.>>>>.
>>.>>>.>>>>...>>..........>>>>.>>>.>.........>>>>>>.>>>.>>>>.>>.
>>...>.>>>>>....>>>.>>>>>>...>>.>>>>>>>......>.>>>>>>>........>.
>>>>..>>.>>.

This is malbrain cat (No change on EOF)

>>>>>.>.>>>>>>.>>.>>>>>.>>>>.>>>>>>.>>.

[edit] External Links

Personal tools