Goto tag

From Esolang
Jump to navigation Jump to search

Goto tag is a minimal esoteric programming language created by User:Yayimhere, because she had begun to get unsatisfied by TLQ. Goto tag is a sort of Self-BCT tag system, however is in her opinion more interesting

Semantics

Every Goto tag program is made up of lines. Each line holds two pieces of info, the "goto value" and the "increment trigger". Whenever a line is encountered, jump to the line that has an index equal to the goto value. Then, add the jumped to line to the "program list". Note that the first ran line is also added, and counts as "jumped to". If the increment trigger is equal to 1 then the jumped to lines goto value is incremented by one. If it's equal to zero, or NULL then this process does not happen. When either 1. an out of bound jump happens or 2. the program list is one line longer then this one, then execution is halted, and the program list is executed as the next program. This process goes on forever. Indexing starts a 0

Syntax

Every line takes the following form:

goto value/increment trigger

Examples

Looping counter:

0/0