Swipe
Jump to navigation
Jump to search
Swipe is an esolang by User:ChuckEsoteric08
Description
Language has a binary tape infinite to the right. First 4 cells are initialised as 1, others as 0
Commands
Command | Description |
---|---|
~ |
Swaps current cell with the next cell |
> |
Moves pointer to the right |
< |
Moves pointer to the left |
{...} |
While 0 loop |
Computational class
The language is Turing complete since ALWCIDFEC can be translated into it:
ALWCIDFEC | Swipe |
---|---|
+ |
>{>}>{>}>{>}~{<}~{<}~{<}
|
* |
>{>}>{>}>{>}~{<}~{<}<{<}
|
4 |
>{>}>{>}>{>}~{<}<{<}<{<}
|
- |
>{>}~{>}~{>}~<<{<}<{<}<{<}
|
/ |
>{>}>{>}~{>}~<<{<}<{<}<{<}
|
1 |
>{>}>{>}>{>}~<<{<}<{<}<{<}
|
[ |
>{<
|
( |
>{>}>{<<{<}
|
{ |
>{>}>{>}>{<<{<}<{<}
|
] |
>}<
|
) |
>{>}>}<<{<}
|
} |
>{>}>{>}>}<{<}
|