The hse sublanguage

The handshaking expansion language uses the same syntax as CHP, with the following restrictions:

For example, a four-phase active handshake on wires xo and xi would be written:

hse {
  *[ xo+; [xi]; xo-; [~xi] ]
}