heptagon/test/good/t.ept
Léonard Gérard 1d6feeef54 some more tests
2011-05-26 15:56:59 +02:00

17 lines
249 B
Plaintext

node count() returns (o : int)
let
o = 0 fby 1;
tel
node main() returns (c : int)
let
automaton
state One
do c = count ()
until count() = 5 then Two
state Two
do c = count ()
until count() = 3 then One
end
tel