t3=
t3= sets the third temporary of every node in the region named by dom to the value of an expression, evaluated at that node.
Syntax
t3= expression
t3 = expression
expression: as for x=, which states every rule the six equations share: the variables, the order, the blanks around the=, the line’s end,∧.
What it does
At every node of the region that an active element uses, James evaluates the expression and stores the result as the node’s t3, a value every later equation of the part may read. The rules of x= apply unchanged.
When James applies it
Step 20 of the hierarchy, once, after the part’s last pass, as x= says. Legal only in the Part phase.
Diagnostics
Example
The script tests/corpus/281-t3-temporary/input.tg, which make test runs:
c the third temporary: t3 holds a product the next equation reads
block 1 2;1 2;1 2;0 1 0 1 0 1
t3 = x*y*z
x = x + t3
endpart
t3 holds a product the next equation adds to x.