mtcm

From Esolang
(Redirected from .mtcm)
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

Mtcm (Uppercase only when starting a sentence) is a small esoteric programming language made by User:BODOKE2801e designed to be minimalist.

Syntax

It has all of commands, are >, <, -, and |

> and < do action one and action two respectvely, - and | change the state, the following is the state table

states of - and |
- off - on
| state a move cell pointer change pointed cell
| state b jump from < to > jump from > to <
| state c input and output

and here's the actions, note that when jumping, the jump gets affected by state changing, and must jump to with the same state

actions with states of - and |
- off - on
| state a > moves pointer right < moves pointer left > increments the pointed cell < decrements the pointed cell
| state b > jumps to < if the looked cell is 0 and must come after a < < jumps to > if the looked cell isn't 0 and must come before a > > jumps to < if the looked cell is 0 and must come before a < < jumps to > if the looked cell isn't 0 and must come after a >
| state c > outputs the thing as unicode < inputs and sets the looked cell to it > outputs the thing as a number < inputs and sets the looked cell to it from a unicode char

it starts off with | set to a and - set to off

Examples

none so far