SetGoto

From Esolang
Jump to navigation Jump to search

SetGoto is OISC by User:ChuckEsoteric08.

Command looks like that:

a;b;c;d;

Declare label a, set variable b to c and if it is "false" go to label d.If you want set to variable then it is needed to be inside two %'s, making possible to go to label specified by variable

Computational class

It is Turing-complete, because it is possible to compile 1-bit BF to it. For example: Flip bit and if 0 then goto a, else if 1 goto b:

flip1;bit;true;b;
flip2;cond;false;a;

This can be used for compiling.

External resources

Compile SetGoto to Batch