User:ZCX islptng/TCP1

From Esolang
Jump to navigation Jump to search

This is an esolang with a register.

Syntax

please allow this 'not c or python or basic' comment! nvar stands for a number or a variable.

<nvar  reg = nvar
>var   var = reg
/var   reg = -reg + var
{var   while var>0 do
}      end while
:      print(chr(reg))
?      reg = getchar()

Computational class

This language is Turing-complete, but [citation needed].