Pipe-calculus: Difference between revisions

Line 89: Line 89:
** ''input prefixing'' <math>?n \dot s</math> is a process that receives a term on its input. On success, it proceeds as <math>s</math> binding the name <math>n</math> to the received term.
** ''input prefixing'' <math>?n \dot s</math> is a process that receives a term on its input. On success, it proceeds as <math>s</math> binding the name <math>n</math> to the received term.
** ''output prefixing'' <math>!s \dot t</math> is a process that sends a term <math>s</math> to its output before proceeding as <math>t</math>.
** ''output prefixing'' <math>!s \dot t</math> is a process that sends a term <math>s</math> to its output before proceeding as <math>t</math>.
* ''sequence'' <math>s \seq t</math> is a composite process that executes <math>s</math> before proceeding as <math>t</math> unless <math>s</math> fails. In that case the composite process also fails.
* ''sequence'' <math>s \seq t</math> is a composite process that executes <math>s</math> before proceeding as <math>t</math> unless <math>s</math> fails.
* ''choice'' <math>s \alt t</math> is a forking process where one fork executes <math>s</math> while the other fork executes <math>t</math>. Execution of the forks overlap in time. If one of the forks fails, the composite process is replaced by the other fork.
* ''choice'' <math>s \alt t</math> is a forking process where one fork executes <math>s</math> while the other fork executes <math>t</math>. Execution of the forks overlap in time. If one of the forks fails, the composite process is replaced by the other fork.
* ''pipeline'' <math>s \pipe t</math> is a composite process that enforces unidirectional, left to right data flow between its components.
* ''pipeline'' <math>s \pipe t</math> is a composite process that enforces unidirectional, left to right data flow between its components.
283

edits