Personal tools

User manual/chi2mcrl2

From MCRL2

Jump to: navigation, search
User manual

Contents

Convert a Chi specification to a matching mCRL2 process specification.

Contents

Synopsis

chi2mcrl2 [OPTION]... [INFILE [OUTFILE]]

Short description

chi2mcrl2 translates a Chi specification to a matching mCRL2 specification. For all the supported Chi operators individual translations to mCRL2 summands (with their associated data parameters) are constructed.

Currently, only non-timed/non-hybrid Chi specifications can be translated. If a specification is timed, e.g. the Chi statement delay, the time progress is translated to a "skip". If hybrid statements are used, e.g. the Chi Statement cont , the translation will fail to translate.

Options

OPTION can be any of the following:

-n, --no-state
no state parameters are generated when translating Chi processes

Standard options:

-q, --quiet
do not display warnings
-v, --verbose
display concise intermediate messages
-d, --debug
display detailed intermediate messages
-h, --help
display help message
--version
display version information

Detailed description

Supported Language Features

Like mCRL2, Chi also has a variety of tools for different translation and simulation purposes. Due to this variety it is hard to keep track of all the supported language features. We give an overview of the supported language features by chi2mcrl2, similar to the Chi Tools page. Note that the presented link shows a "Chi to μCRL translation", which is the predecessor of mCRL2.

In the tables below, a “+” means that the feature is supported and a “-” means that the language is not supported.

Variable Classes

Each variable in a Chi program belongs to a variable class. Below are the supported variable classes for chi2mcrl2.

Variable Class chi2mcrl2
cont vardecl -
alg vardecl -
var vardecl +
alg parameter -
alg parameter -

with the following footnotes:

Constant definitions

Constant definitions are not supported by chi2mcrl2.

Imports

Imports are a general concept in Chi. Library files can be imported but also other Chi specifications or even libraries written in other languages are considered useful. However the import feature is not supported in chi2mcrl2.

Enumerations

Enumeration definitions are not supported by chi2mcrl2.

Functions

Enumeration definitions are not supported by chi2mcrl2.

Processes

The following language features are supported.

Feature chi2mcrl2
time in guards -
folding -
alternative composition +
parallel composition #1
process instantiation #1
recdef instantiation -
deadlock +
inconsistent -
delay predicate -
action predicate #2
any delay -
signal emission -
delay operator #3
jump enable -
local variable scope -
local channel scope -
local recdef scope -
recdef -
urgent communication -
encapsulation -
guard +

with the following footnotes:

Data types

In the table below are the supported data types for chi2mcrl2.

Data type chi2mcrl2
booleans +
naturals +
reals -
lists +
sets +
dictionaries -
vectors -
records +
distributions -
matrices -

Author

Written by Frank Stappers.

Reporting bugs

Report bugs at our issue tracking system.



prev.gif Tool manual pages diagraphica next.gif
This page was last modified on 7 April 2009, at 13:04. This page has been accessed 18,405 times.
Copyright © 2005-2012 Technische Universiteit Eindhoven.
Powered by MediaWiki