A platform independent and ANSI-C compliant framework simplifying the implementation of event driven designs on embedded systems. Unlike other similar frameworks StrawLib uses the simpler metaphor of flow graphs rather than that of finite state machines.