Next: , Up: The Dezyne command-line tools   [Contents][Index]


9.1 Invoking dzn

The dzn command is a front-end to Dezyne functions, such as verification, code generation, simulation, etc. Those functions all have their own sub command:

dzn dzn-optioncommand command-optionFILE...

Running dzn without a sub command shows a brief help text and the list of available dzn commands.

The dzn-options can be used with every dzn command and can be among the following:

--debug
-d

Enable debug output.

--help
-h

Display help on invoking dzn, and then exit.

--skip-wfc
-p

Skip well-formedness checking.

The well-formedness checking of a large program can take a significant amount of time. As the well-formedness check does not change a correct AST in any way, it can be safely skipped when parsing a previously checked and unmodified program (See Invoking dzn parse).

--threads=n

Invoke lps2lts with --threads=n.

--timings
-T

Show detailed Scheme and mCRL2 timing information.

--transform=trans
-t trans

Apply transformation trans after parsing. Use dzn --help --verbose to show all transformations. This option can be used more than once. For example,

dzn code -l dzn -t add-explicit-temporaries -t -o- normalize:compounds test.dzn
dzn code -l dzn -t 'inline-functions(f)' -t -o- normalize:compounds test.dzn

will inline function f and remove redundant compound-statements created by the inlining.

--verbose
-v

Be more verbose, show progress.

--version
-V

Display the current version of dzn, and then exit.

--version-number

Display the current version-number of dzn, and then exit. This may simplify getting the version in environments where Dezyne is the only program in use that conforms to the GNU coding standards (see standards for command-line interfaces in GNU Coding Standards).

Note: The dzn-options are placed between dzn and the sub command, e.g. to increase verbosity when using dzn verify, use

dzn -v verify file.dzn

Next: Invoking dzn anonymize, Up: The Dezyne command-line tools   [Contents][Index]