2014-12-02 17:03 GMT+01:00 Jens Axel Søgaard <jensa...@soegaard.net>:

> Here is an example drawing a simple state machine with MetaPict.
> It shows a little state machine that accepts numbers with
> an even number of zeros in its binary representation.
>
> #lang racket
> (require metapict metapict/structs)
>
> ; Two states S1 and S2.
>
> ; Four arrows (here A1, A2, A3, A4)
> ; A1:  S1 -- 0 --> S2
> ; A2:  S2 -- 0 --> S1
> ; A3:  S1 -- 1 --> S1
> ; A4:  S2 -- 1 --> S2
>
>
Nothing happens. It returns a prompt but no window shows up
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to