GotoLang

From Esolang
Jump to navigation Jump to search

This is an esolang created by islptng.

In this esolang, the only command is Goto(with a few add-ons).

Syntax

Only one command:

label:goto

Self-explanatory.

However, general "match" (just "add-ons") is supported. It can match any integer in [].
In the following example, foo[2]bar[6]baz will go to foo[16]bar[1]baz.
The priority is at the bottom, so foo[11]bar[11]baz will go to exit, instead of foo[21]bar[10]baz.

foo[11]bar[11]baz: exit
foo{a}bar{b}baz: foo{b+10}bar{a-1}baz

Computational model

Turing Complete, because it can simulate Minsky machines. [citation needed]

Implementation

I need someone to make one.