Lag
Jump to navigation
Jump to search
Lag(Language is good) is an OISC by User:ChuckEsoteric08. it is Similar to Subleq but with variables instead of array.
Command
a;b;c;d
Declare label a
, decrement integer c
(can be negative) from variable b
(result is stored in variable b) and if result is equal to zero go to label d
(if result was less than zero then don't). You can reference variable by putting it inside twi "%"s, making possible to go to label scecified by variable.
Examples
Infinity loop
test;a;0;test
Incrementing infinitly
loop;a;-1;loop go;b;0;loop
Computational class
See Lag Turing-completness proof