toy - This directory contains two toy examples
	stop_watch - this example is published in Hamon & Rushby, "An Operational semantics for Stateflow", 2007.
	function_selection - this example is used in Miyazawa & Cavalcanti, "Refinement-oriented models of Stateflow charts", preprint.
	specs - contains the pre-generated specifications of the examples. in order to parse and type check, it is necessary to put the
		basic_toolkit.tex and stateflow_toolkit.tex in the same directory.

basic - This directory contains 13 basic examples
	*.tex - the examples cover entry, exit, during, condition and transition actions, conditions, Simulink, graphical and matlab functions, event triggers,
		junctions (for statement and if statement), sequential states, history junctions. Parallel states and interlevel transitions are covered by the toy examples.
	specs - contains the pre-generated specifications of the examples. in order to parse and type check, it is necessary to put the
		basic_toolkit.tex and stateflow_toolkit.tex in the same directory. The examples that use functions also need to include the library functions (found in specs/).
		This can be done by including the library in the tool, or altering the specification manually.