ASCII art-
Jump to navigation
Jump to search
ASCII art- (pronounced ASCII art minus) is an ASCII art derivative that uses the commands in ASCII art but replaces them with the single character the commands look like the most.
ASCII art uses, as does ASCII art-, a one dimensional tape memory system that stores integers. There is a pointer which can be manipulated and which can, in turn, manipulate the cells in the tape.
Commands
ASCII art- key | Description |
---|---|
>
|
Moves the pointer one to the right. |
<
|
Moves the pointer one to the left. |
+
|
Increments the current cell by one. |
-
|
Decrements the current cell by one. |
[
|
If the current cell is 0, skip to loop end. Otherwise, enter loop. |
]
|
If the current cell is not 0, skip to the beginning of the loop. Otherwise, exit the loop. |
.
|
Prints the character of the current cell's ASCII value. |
,
|
Takes a single character input. The current cell becomes that character's ASCII value. |
Sample Programs
Hello, World!
++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.