Sorry

From Esolang
Jump to navigation Jump to search

Sorry is a esolang created by User:Yayimhere. its Underload but with one change that makes Sorry have only two commands

information

there is one change. now the ^ does dis:

pop top 4 elements. the first popped is a second popped is b, third popped is c, and last popped is d. now add d in after the command, length of a, times, each time with c prepended and b appended

also the subset is only []^(() is []). and yes this is still Turing-complete since : can be simulated:

[[][]][**]^

to do normal ^:

[ ][ ][*]^

also yes a space is interpreted as nothing. this was added because the content of [] is always of at least length 1(which is how [[] is possible). so to push nothing:

[ ]

if you try to run a command with unmatched brackets the program gives an error