Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
intro_example:connection_info [2025/05/18 14:58] – created rajit | intro_example:connection_info [2025/05/18 15:02] (current) – rajit | ||
---|---|---|---|
Line 2: | Line 2: | ||
There are two categories of variables in ACT: parameter variables (e.g. '' | There are two categories of variables in ACT: parameter variables (e.g. '' | ||
- | during expansion/ | + | during expansion/ |
+ | variables are more like normal variables in a programming language with the caveat that in some contexts they are [[language: | ||
<code act> | <code act> | ||
Line 23: | Line 24: | ||
Connecting two variables makes them refer to the same circuit element. Connecting two processes makes the two variables correspond to one process (as above), and connecting two channels makes them the same channel. The | Connecting two variables makes them refer to the same circuit element. Connecting two processes makes the two variables correspond to one process (as above), and connecting two channels makes them the same channel. The | ||
- | earlier examples used channel connections to connect the output of one process to the input of another. | + | earlier |
The two connected variables can be viewed as aliases, i.e. different ways to refer to the same process. ACT provides flexible syntax to support different ways to connect variables. | The two connected variables can be viewed as aliases, i.e. different ways to refer to the same process. ACT provides flexible syntax to support different ways to connect variables. |