Arra

From Esolang
Jump to navigation Jump to search

Arra is an esoteric Programming language Created by User:Buckets in 2021.

Every cell Starts with a Number Of 1 to start.

Commands Instructions
>m Move the m cells backwards And Deletes them To add them Forwards But reversed.
n> Move the m cells Forwards and Deletes Them to Add Them backwards but Reversed.
{ Goto The cell numberth | Ahead from this Command.
| If { or } Have to Move to A non-existent Or Out of Bounds |, It will Goto The Last one.
} Goto The cell numberth | before this Command.
# Switch Directions and it Starts rightwards.
u Replace the current Cell with the Input Value.
d Print the Cell value Modulo 256 as ASCII.
L Square the Current cell Number.
=o Duplicate o Cells and Reflect them Rightwards.
p= Duplicate o Cells and Reflect them Leftwards.
$q, r From the region q Cells To the left Of the Data Pointer and r cells Rightwards where The data pointer Is And Invert the Sign of every Number that is With that Region.
$s Move Forwards s cells In the current Direction.
? Modulo 256 the Currect cell Value.
_ End The program.

Cat Program:

|ud$1}

Truth-machine Program:

u>1{|>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1d_
|$1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1>1d$1}
|_