dia2fsm

dia2fsm reads DIA diagram files constructed in the prescribed format and produces Finite State Machine (FSM) skeleton code.
Download

dia2fsm Ranking & Summary

Advertisement

  • Rating:
  • License:
  • LGPL
  • Price:
  • FREE
  • Publisher Name:
  • Damien Golding
  • Publisher web site:
  • http://www.economic-objects.com/code/dia2fsm/

dia2fsm Tags


dia2fsm Description

dia2fsm reads DIA diagram files constructed in the prescribed format and produces Finite State Machine (FSM) skeleton code. dia2fsm reads DIA diagram files constructed in the prescribed format and produces Finite State Machine (FSM) skeleton code. This project supports code generation to C and C++ and is built on Linux only.Additionally, if an output PNG file is specified with the -o option, an additional output file suitable for use as input to the AT&T Graphviz application 'DOT' is also generated. When this DOT output file is specified, DOT will be spawned and the DOT configuration file used to generate a graphical representation of the call hierarchy in the FSM and related push-down automata.Additional features include the facility to describe transitions from state to state in such a way that it becomes possible to generate member functions and associated logical flow and control so as to implement directly and explicitly the logic described by the FSM in the output skeleton code. It is intended thatextensions to the software providing further code generation options follow this model.dia2fsm is constrained by the nature of the XML generated by DIA; it is necessary to observe certain conventions when using DIA and dia2fsm. It is hoped that these conventions do not require a significant or unsurmountable philosophical paradigm shift.This first (reference) version of the software is implemented in C++, on Windows 2000 Professional with theMinGW tool-set via Eclipse V 3.1.0. The software uses Trolltech's Qt toolkit for platform dependent operations such as file I/O, process control and for XML handling.The reference version of the software supports code generation in C and C++ only; it is expected that a Java implementation at least will follow quickly.


dia2fsm Related Software