ITMR
Jump to navigation
Jump to search
ITMR, ITM reborn, ITM Redux ITMR Was created by user:Alanmalan. the link to the github page can be found here
Due to limitations in the interpreter, all code must be in a single line
Commands
Command | Description | |
---|---|---|
Commands | ||
> | Moves the pointer foward one space in the tape | |
< | Moves the pointer back one space in the tape | |
+ | Adds one to the current cell | |
- | Subtracts one from the current cell | |
[ | Saves the current code position to be called back later | |
] | Calls back to the most recently saved code position if the current cell's value is non zero | |
. | Prints out the value of the current cell | |
: | Prints out the value of the current cell in ascii | |
, | Request a single character input from the user | |
& | Skips the next command in the code if the value of the current cell is non zero | |
% | Sets the value or the current cell to a random number betwhen 0 and 255 | |
$ | Skips to the code position equivalent to the number on the current cell |
truth-machine
,------------------------------------------------[.]
Automaticaly converts ascii numbers into numbers
Hello world program
++++++++[->++++++++<]>++++++++: >++++++++++[->++++++++++<]>+:+++++++::+++:>>+++++[->++++++<]>++:[-]<< +++++++++++[->+++++++++++<]>--:<<:>>>++++++++++[->++++++++++<]++[->+++++<]>++++: <<<<---:>>>>>++++++++++[->++++++++++<]>:
Prints out "Hello world"