BrainFuck | AutoBoat
> | /
< | \
+ | +
- | -
. | .
-------------------------------------------
Special Cases:
Brainfuck operator = ,
AutoBoat equivalent =
:>
>^
Reason = AutoBoat's input operator is identical except
that it turns clockwiseon Null, so code has been
added for flow correction.
-------------------------------------------
Special Case:
Brainfuck operators = [ and ]
Reason = There are no stack jump-forward/back, but it can
be simulated exactly with by using flow operators
Notes = code can be resized to contain itself (see third example
equivalent to X[ABC]Y
v==========<
| |
| |
>==X==%==>==ABC==%==^==>==Y==>
| | |
| | |
| >=====^
| |
>================^
or
v====<
>==X%>ABC%^>Y==>
| >=^
>======^
equivalent to [[A]B]
v=================<
| |
| v==< |
>=====%==>===%>A%^>==B==%==^==>===>
| | >=^ | |
| >====^ | |
| >=====^
| |
>=======================^