SYNOPSIS
        frac [options] <infile>.fcr [<outfile>.tts]

DESCRIPTION
        frac [-h | -help]

	   Prints a short description of command line flags

        frac [-f] <infile>.fcr [<outfile>.fcr]

	   Checks the contents of the fiacre file <infile>.fcr. If -f or <outfile>.fcr
	   is present, then prints the fiacre source on stdout (if -f but no outfile
	   specified) or in file <outfile>.fcr (if specified).

        frac <infile>.fcr <outfile>.tts

	   Checks the contents of file <infile>.fcr and generates a tts description
	   suitable for analysis by the Tina tools (after compilation, see below).

	   A tts description is a directory (<outfile>.tts) containing two files:
	    - <outfile>.net, containing the description of a Priority Time Petri net;
 	    - <outfile>.c, containing a description of the data processing synchronized
	      with the net, and obeying the API required by Tina.

	   For analysis by Tina, file <outfile>.tts/<outfile>.x mut be compiled into
	   a shared library (extension .so on Linux/Unix, .dylib on Mac, .dll on Windows).
	   The frac distribution includes a Makefile for this task. The code generated
	   requires gcc as C compiler.

OPTIONS
        The following options are recognized:
            -h / -help
                displays a short description of command line flags
            -q
                runs in 'quiet' mode [default]
            -v
                runs in 'verbose' mode
            -o <errfile>
                sets the file for error stream (default stderr)
  	    -f
	        does not compile, but pretty-prints the fiacre source
            outfile
                where results are written (default stdout)

LIMITATIONS
        The following limitations currently hold:
            - the main process/component should be closed (no parameters allowed);
            - while statements may not contain "to" statements and must be deterministic 
	      (no "any" nor "select" statements);
	    - init statements must be deterministic;
	    - any input communication offer should match some output offer (no "open inputs").

SOURCES
        Frac sources are available in licence CECILL-B at:
            http://gforge.enseeiht.fr/projects/fiacre-compil/

	Precompiled distributions for various targets are available at:
	    http://gforge.enseeiht.fr/projects/fiacre

SEE ALSO
        The Tina Toolbox homepage:
            http://www.laas.fr/tina
