[racket] machine states diagrams

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Mon Jan 26 06:52:55 EST 2015

Turned out the solution was to scroll up. The dimensions of the screen
made it difficult to see.

/Jens Axel


2015-01-26 0:42 GMT+01:00 Catonano <catonano at gmail.com>:
>
>
> 2014-12-02 17:03 GMT+01:00 Jens Axel Søgaard <jensaxel at 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



-- 
--
Jens Axel Søgaard


Posted on the users mailing list.