Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] State Table Compiler

2009-09-16 by Dave Hylands

Hi Chuck,

On Tue, Sep 15, 2009 at 12:43 PM, Chuck Hackett <egroupscdh@up844.us> 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 wrote one which you can find over here:
<http://websvn.hylands.org/listing.php?repname=Projects&path=%2Fhost%2Fsmc%2F&rev=0&sc=0>

It's also yacc and lex based, although the .c files are there, so you
shouldn't need yeacc or lex to make it work.

> A nice feature would be a companion program that would produce a state
> transition diagram for the state table as documentation.

It doesn't do that.

-- 
Dave Hylands
Shuswap, BC, Canada
http://www.DaveHylands.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.