We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Mindblow

From Esolang
Jump to navigation Jump to search

Mindblow is designed by PSTF. It is designed to assemblize Brainfuck.

Command Set

var [m]

Open the m-th cell.

del [m]

Close the m-th cell.

[m] = n

Set the m-th cell to n, where n is either an integer or another cell.

a + b
a - b
a * b
a / b
a % b
a ^ b

Literally meaning.

putchar [m]

Output m-th cell as an Unicode character.

print "blahblahblah"

Output a string literal.

getchar [m]

Input an Unicode character to m-th cell.

while [m] {code}

Keep running the code inside the braces until the m-th cell is 0.

clear [m]

Set the m-th cell to 0.

swap [m], [n]

Swap the value between m-th cell and n-th cell.

out [m]

Output m-th cell as a number.

in [m]

Input an integer to the m-th rule.

Example

Hello, World!

print "Hello, World!"

A+B Problem

var [0]
var [1]
in [0]
in [1]
[0] = [0] + [1]
out [1]

See Also

Categories