GotoStart
Jump to navigation
Jump to search
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
GotoStart is an esolang by User:ChuckEsoteric08 and is Turing complete descendant of UBLANG.
Specification
GotoStart uses registers (0-indexed) to store data. Language recuires at least 3 registers to be Turing-complete
Instruction | Description |
---|---|
+(x) |
increment register x
|
-(x) |
decrement register x if it is bigger than 0
|
=(x:y) |
set register x to y
|
.(x) |
output register x
|
?(x=y>abc) |
If registerx is equal to y exececute instructions abc .Note that parenthesis should match to make nested if statements possible.
|
^ |
Go to the start of the program. |
Infinite GotoStart
Programs in this version of GotoStart always end with ^ and ^ is not allowed to appear elsewhere. Despite this, the language still remains Turing-complete