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.

Mirror

From Esolang
Jump to navigation Jump to search
Not to be confused with MIRROR.

Mirror Is an Esoteric Programming language Created By User:Buckets In 2021.

Commands Instructions
q Creates an IP with 1⨩1.
Set the ⁝ to 0.
0 Set The ⱱ To 0.
F Skip next command.
! Skip next Command if ⱱ is -1.
> Set ⱱ To the input Value.
, Print ⁝ in Unicode, but If it's Negative, print The Absolute value of ⱱ in Unicode, but if Either Are too big, Print it Still but in ASCII Modulo 256.
If ⱱ and ⁝ are Equal, Skip the Next Command.
= If ⱱ and ⁝ are Equal, Skip the Next Command, but It doesn't matter The Sign.
< Destroys the IP.
/ This is A mirror, Swap ⁝ and ⱱ.
This is A mirror, Sum both ⱱ and ⁝ values Into One, Set both ⱱ And ⁝ to The Absolute Sum, except If ⱱ Or ⁝ previously Was Negative or positive, That will be The Opposite of before.
This is A mirror, This is A mirror, Add ⁝ to ⱱ But if ⱱ is Negative, It will Subtract ⁝ instead, then after All That, Negate it.
This is A mirror, If ⁝ is Negative or Positive, they Will be Set to 1 and -1 Respectively.
This is A mirror, Set ⁝ To the Absolute Sum of ⁝ and ⱱ and Make The Opposite sign of the Original ⁝.
\ This is A mirror, Swap ⁝ and ⱱ then Negate It.
| This is A mirror, Negate ⁝.
- This is A mirror, Negate ⱱ.
_ This is A mirror, Absolute ⁝.
This is A mirror, absolute ⱱ.
This is A mirror, Negate both ⁝ and ⱱ.
This is A mirror, Add ⱱ to ⁝ But if ⁝ is Negative, It will Subtract ⱱ instead, then Add ⱱ to ⁝ But if ⁝ is Negative, It will Subtract ⱱ instead, then Negate Both Of them.
This is A mirror, Absolute both ⁝ and ⱱ.
This is A mirror, Subtract an Absolute ⱱ To ⁝.
This is A This is A mirror, Subtract an Absolute ⁝ To ⱱ.
This is A mirror, Swap ⱱ and ⁝ And Then Negate both Of them.
This is A mirror, Subtract an Absolute ⱱ To ⁝ and Subtract an Absolute ⁝ To ⱱ At the Same Time.
This is A mirror, Add ⱱ to ⁝ But if ⁝ is Negative, It will Subtract ⱱ instead, then after All That, Negate it.
This is A mirror, Sum both ⱱ and ⁝ values Into One, Set both ⱱ And ⁝ to one Sum but If ⱱ Is Positive, The sum Will be negative And if The ⁝ is Negative, The Sum Will be positive but Negative If ⁝ is Positive.
This is A mirror, If ⱱ is Negative or Positive, they Will be Set to 1 And -1 Respectively.
This is A mirror, Set ⱱ and ⁝ to The difference Between ⱱ and ⁝ And Set the sign To The opposite Sign than Before.
This is A mirror, Set ⱱ To the Absolute Sum of ⁝ and ⱱ and Make The Opposite sign of the Original ⱱ.
This is A mirror, If ⱱ Or ⁝ is Negative or Positive, they Will be Set to 1 And -1 Respectively.
_ This is A mirror, set ⁝ To the Absolute Sum of ⱱ and ⁝ with The Opposite sign than Before.
¯ This is A mirror, Set ⱱ To the Absolute Sum of ⱱ and ⁝ with The Opposite sign than Before.

Directions are Represented as m⨩n, Where m Is how much Rightwards Direction and n is How much Upwards Direction and Where n will be Called ⁝ and m Will Be called ⱱ And the Space Loops.

Cat Program:

<<
,,
--
‐‐
 >
q