Sep

From Esolang
Jump to navigation Jump to search

Sep is an esolang created by islptng.

It is designed to be "even easier to learn than Waduzitdo while Turing-complete".

Commands

>a   a = input
<a   print(a)
'x   print a character
"x   print a whole line of text
\x   print the escaped character
#v   break from loop with the depth v
+a   register += a
-a   register -= a
=a   a = register if a is a variable name, register = a if a is number
{[v1]c1[v2]c2 ... [vn]cn[vd]}
     for i = v1 to vd, if v1 <= i < v2, execute c1. if v2 <= i < v3, execute c2, etc.
     if there is thing before v1, it will be treated as the step.

Computational class

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