开?关!

From Esolang
Jump to: navigation, search

开?关!is a very funny esolang.

Syntax

The syntax is:

identifieridentifier

Identifiers

开:when the cell is on, do the next.
关:when the cell is off, do the next.

Example:

开?关!

When the cell is on, shut it down.

变:Flip the cell.

Example:

开?变!

When the cell is on, flip it.

溜:enter loop if the conditon is true before.
回:end loop
空:do nothing
→:move the cell 1 bit right.
←:move the cell 1 bit left.

Computational Class

It is Brainbool equivalent.

 @ : 变
 > : →
 < : ←
 [ : 溜
 ] : 回