Amit

From Esolang
Jump to navigation Jump to search

Amit is an Esoteric programming language created by User:Buckets in 2021.

Commands Instructions
Any Natural Number Pushes That Number on the Stack.
* Multiplies the top two values on the stack.
+ Adds the top two values on the stack.
m% Rotates the top m Values Clockwise.
n/ Rotates the top n Values anti-Clockwise
! Prints the Top Value into ASCII.
? If the top value = 1, go to the last valueth Line.
D Pushes the Absolute Difference between The top Two Values of the stack.
¿ If the top value not = 1, go to the last valueth Line.
< If the top value < the 2nd top Value , go to the last valueth Line.
> Go to the last valueth Line.
- Pushes a Natural number Input.
^ Duplicates the top Of the stack.
_ Prints the Top Value As a Number.

Cat program:

-!

"Hello, World!" Program:

72!101!108!!111!44!32!87!111!114!108!100!33

A+B Problem:

--+!

A-1 Problem:

1-0D1+?*1+D_3/1+3%>
45!49!
.


Truth-machine Program:

1-?2%0*2 2%0D1+?**0*3+>
_>
_
.

Infinite loop:

0>