MoveIt

From Esolang
Jump to navigation Jump to search

MoveIt is an esoteric programming language made by User:AmNow, MoveIt moves bytes around, hence the name.

Commands

Command   Move Byte:  To
→         First       End of program
←         Last        Start of Program
▶️        Before CMD  Start of program
◀️        After CMD   End of program.  
⏪        First       Before CMD. 
⏩        Last        After CMD.
⏭        First       After CMD.
⏮        Last        Before CMD.
»         Before CMD  After CMD
«         After CMD   Before CMD
🔶: If the byte before and byte after this command aren’t equal, delete them.      
🔷: If the byte before and byte after this command are equal, delete them.

All other characters will print themself out.

() can be used to group things together into a single block.

(hi)»

The program when it hits the »:

»(hi)

The instruction pointer will stay on the command it is on after an operation.
Note that 1 is equal to (1).

Programs

Infinite Loop

→→

Hello, World!

Hello, World!

Quine

A

Spam #s

#→→