Relative TOGA
Jump to navigation
Jump to search
Designed by | User:C++DSUCKER |
---|---|
Appeared in | 2025 |
Memory system | tape |
Dimensions | one-dimensional |
Computational class | Turing complete |
Major implementations | Relative TOGA/Interpreters |
Relative TOGA is a OISC with the instruction:
p += a; *p ^= true; if (*p) {goto b;}
We notate this as a,b;
, Where b can also be a label.
Examples
Move by N
N,l0; l0: 0,l1; l1:
Toggle current cell
0,l0; l0:
Jump to L if current cell is 1
0,l0; l0: 0,L;
Reset current cell
l0: 0,l0;