On Wed, Sep 14, 2011 at 1:34 AM, Adrian Thurston <[email protected]>wrote:

> Hi Shawn, does this work for you?
>
> A = (
>   start: A: (
>
>       IDLE -> A |
>       POLL @poll OPEN -> A |
>       POLL @poll CLOSED -> B
>   ),
>   B: (IDLE -> B | EXIT -> final)
> ) >a_entry;
>
> m := START A;
>
> -Adrian


Hi Adrian,

I didn't do a great job of translating my much larger state chart into the
small example, so there are a few complications in the way of directly
following your suggestion. However, this gives me some things to think about
for how to better factor my machines. Thanks for the help!

Shawn
_______________________________________________
ragel-users mailing list
[email protected]
http://www.complang.org/mailman/listinfo/ragel-users

Reply via email to