=,-&~

From Esolang
Jump to navigation Jump to search

=,-&~ is an esolang made by User:AmNow. =,-&~ makes the code look like a lot of dashes.

Commands

-: Push 0
=: Add 1
≡: Add 10
~: Add 100
∽: Negate
∸: Move bottom most value up.
--: Move top most value down.
-=: Pop
-≡: Swap
-~: Duplicate
-∽: If the top value of the stack is 0, jump past matching -∸.
-∸: Jump back to matching -∽.
=-: Plus
==: Minus
=≡: Multiply
=~: Divide
=∽: Input as a number
=∸: Input as a Unicode character and push its ID.
≡-: Output as a number
≡=: Output as a Unicode character.
Use a space to separate commands.

Programs

Truth Machine

=∽ -∽ -~ ≡- -∸ ≡-

Computational Class

=,-&~ is Turing Complete, as it can simulate BF.

BF =,-&~
+  =
-  ∽ = ∽
<  ∸
>  --
.  -~ ≡=
,  -= =∸
[  -∽
]  -∸