Sequence_Operator - TorXakis/TorXakis GitHub Wiki
Sequence Operator¶
Syntax¶
communications ">->" processBehaviour
Semantics¶
After the communications have occurred (in a single step), the described process behaviour is exposed.
Examples¶
The statement
Channel1_Int ? x >-> Channel2_Int ! x
describes the process that
- first communicates over
Channel1_Int
(the value can be referred to as variablex
) - and next communicates the value of variable
x
onChannel2_Int
The statement
Channel1_Int ? x | Channel2_Int ? y >-> P[Channel3_Int](x,y)
describes the process that
- first simultaneously communicates over
Channel1_Int
andChannel2_Int
(the values can be referred to as variablex
over variabley
, respectively) - and next instantiates the process
P
withChannel3_Int
as channel and the value of the variablesx
andy
as arguments.