git @ Cat's Eye Technologies Beturing / master eg / example.bet
master

Tree @master (Download .tar.gz)

example.bet @masterraw · history · blame

## Trivial Beturing program that swaps a's and b's along a line.
## $Id: example.bet 14 2005-06-09 03:30:28Z catseye $
# D(40, 4)
# @(40, 4)
$bbab$
# C(0, 0)
# @(0, 0)
 . . . . . .
*v*<*<*<*>*v
aa .ab . .aa .
>/*>./*^*^</*v
bb .ba . .bb .
>/*^./*^*^</*v
$$ .$$ . .$$ .
>/*^</*>*^.@*v
         . . .
*@      *^*<*<