[racket] machine states diagrams
DrRacket's scrolling is not very friendly to large images in the
interactions window. I should really try to fix that.
Robby
On Mon, Jan 26, 2015 at 5:52 AM, Jens Axel Søgaard
<jensaxel at soegaard.net> wrote:
> 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
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users