adding automaton
This commit is contained in:
@@ -10,3 +10,10 @@ let
|
||||
(l1, l2) = diagonal_int(i);
|
||||
o = (not (not (l1 = l2))) and (l1 = l2) and true;
|
||||
tel
|
||||
|
||||
node automaton () returns (o : bool);
|
||||
let
|
||||
automaton
|
||||
| Incr -> do o = (pre o) + 1 done
|
||||
| Decr -> do o = (pre o) - 1 done
|
||||
tel
|
||||
|
||||
Reference in New Issue
Block a user