Build with Qt (https://www.qt.io/ide/)
Go to ./scripts
echo T111 | ./tm_bplus1
returns: R1000
echo R111 | ./tm_bplus1
returns: R111
input: Tiu
if i=1 runs: ./tm_bplus1 with u as input
if i=0 runs: ./tm_bminus1 with u as input
echo T0100 | ./IF | ./THEN | ./tm_bplus1 | ./ELSE | ./tm_bminus1 | ./ENDIF
returns: T011