M
Jump to navigation
Jump to search
M is an esolang made by User:↑.
It has the following command and its the only command:
M x, y, z
Which means if x <= y, x+y then jump to z.
It also subtracts x by y and creates branches if x > y, where it does not jump but branches and the M command acts differently. The x input is the result given by the parent command in the branch, so the explicit area is changed to 0. It also writes to the parent's value index if x <= y. Else, it creates its own index and branches so other M commands in its branch can use its result.
It is also Turing-complete because it:
- Can read and write to areas in memory
- Can perform addition, a type of arithmetic
- Has a loop that can be unbounded.