Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] State Table Compiler

2009-09-15 by Ned Konz

On Sep 15, 2009, at 12:43 PM, Chuck Hackett wrote:

> I have written a state table compiler in my past life on a different
> platform using Yacc & Lex but I have to believe that one exists for  
> Windows
> that I can use to compile state tables for my AVR resident state  
> machine.
>
> I’m assuming that I would have to customize it for my target state  
> machine
> environment.
>
> A nice feature would be a companion program that would produce a state
> transition diagram for the state table as documentation.
>
> Anyone have a favorite SM compiler?
>
> (I just found one on SourceForge at http://smc.sourceforge.net/ but  
> I have
> not studied it yet)


I prefer the Quantum Platform package; it supports hierarchical state  
machines, has an AVR port available, and skips the separate  
representation of the state machine (i.e. it is not table based). So  
its RAM footprint is very small.

http://state-machine.com

I've used it extensively on the AVR (I wrote the first port, but you  
can download the "official" one now). I have also written a version in  
Ruby.

It's available both under the GPL v2 license, as well as a commercial  
license with reasonable rates.

-- 
Ned Konz
Seattle, WA
360-629-1091
http://bike-nomad.com

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.