smbct.t2
public text v1 · immutable# Enter a program using 1s and 0s, followed by a newline. Then input newlines to
# continue exectution and/or EOFs to end.
/^=x//
/=9./=9/
/^(.*)=x/>$1/
/=1/!
/1/I/
/0/O/
/=1/=x/!
/^[OI](.*?)>O(.*)$/$1O>$2=x$1O>$2/
/^(.*?)>I([OI])(.*)$/$1I$2>$3$2=x$1I$2>$3$2/
/^(.*)>$/>$1=x>$1/
/^>O(.*)$/>$1=x>$1/
/^([OI])(.*)>I$/$1>$2I$1=x$1>$2I$1/
/=1/*
/=1//
.