Melon

From Esolang
Jump to navigation Jump to search

Melon Is An Esoteric programming language created By User:Buckets in 2021.

Commands Instructions
@ Rotate left And skip the Next Command.
# Starting point where Four Seperate IPs come out From.
D If an IP travels through This, It will Duplicate it One step Behind it.
Y This will Toggle Between Going leftwards And Rightwards, in an Alternating Order.
% Rotate Right And skip The Next command But only if The Current value stored Is zero.
\ If the Current Value stored Is Zero, Set it To one, Else it will Set It To zero.
. Halt the movement Of The Current IP, If another IP goes here, Their Values will Be Summed Up and Turn Right Of the IP encountering the Other IP.
! Set the Current value Be set to the Input value, Unless It is In the Direction Of the right Direction, Then It will Print The Value in ASCII instead, Then Rotate clockwise.
8 If the Current Value stored In The IP is 8, Turn right.

Cat Program:

YY
Y.
 #