Tapelang
Jump to navigation
Jump to search
Tapelang is a cell-based language by User:ChuckEsoteric08 that compiles to UBLANG.
Description and Commands
It has inital tape 1001
and points to third cell.
r | move pointer right |
l | move pointer left |
0 | creates cell with value 0 left to current cell and move pointer to that cell |
1 | creates cell with value 1 left to current cell and move pointer to that cell |
o | output tape |
If you are trying to move right if current cell is 0 and there not other cells after it or the same for trying to move left, then goto start of the program. How it will be executing is based on compiled code.
How it works
2 accumulators are named "left" and "right". Conversion is based on this. Because of UBLANG have not multiply and divide commands it adds and substracts value of accumulators to it.