Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
language:langs:dflow [2023/04/09 19:48]
rajit [Clusters and Ordering]
language:langs:dflow [2024/01/07 11:24] (current)
rajit [Clusters and Ordering]
Line 220: Line 220:
 </code> </code>
 In general, the order block contains a semi-colon separated list of directives. Each directive is a list of comma-separated channels followed by ''<'' followed by a second comma-separated list of channels. The directive means that all the channels in the first group must produce outputs before any of the channels in the second group can receive inputs. In general, the order block contains a semi-colon separated list of directives. Each directive is a list of comma-separated channels followed by ''<'' followed by a second comma-separated list of channels. The directive means that all the channels in the first group must produce outputs before any of the channels in the second group can receive inputs.
 +
 +====== Syntactic replication ======
 +
 +The dataflow sub-language has support for syntactic replication for splits, merges, mixers, and arbiters. For a split, the output side can use syntactic replication; for the others, the input side can use syntactic replication.
 +For example, the following syntax is legal (assuming everything is of the right type):
 +<code act>
 +dataflow {
 +  {ctrl} l -> (, i : 8 : out[i])
 + }
 +</code>