0+

From Esolang
Jump to navigation Jump to search

0+(pronounced 0 plus) is an esolang made up of only plusses and zero's. it was created by User:Yayimhere. theres an infinite to the right array holding numbers named acc and a function named f

commands

0 = 0
x+ = x+1
0x0 = do x before everything else(if multiple they are evaluated left to right the rest of code)
x+y = x-y
x++y = while x ≠ acc[x] do y
x+y0 = f(acc[y])=acc x. to make x empty replace with 0
+++x = acc[x] = f(acc[x])

spaces separate commands and are NOPs

examples

Infinite loop

00+0++0

computational class

idk but i think its TC