...
1-- in.cue --
2root: {
3 a: {
4 $id: "sequenced"
5 seq: 2 // terminate at t2
6 val: "foo"
7 out: string
8 }
9 b: {
10 $id: "sequenced"
11 seq: 3 // terminate at t3
12 val: "bar"
13 out: string
14 }
15 c: {
16 $id: "sequenced"
17 seq: 1 // terminate at t1
18 val: "baz"
19 out: string
20 }
21 d: {
22 $id: "valToOut"
23 out: a.out + b.out + c.out
24 }
25}
26-- out/run/errors --
27-- out/run/t0 --
28graph TD
29 t0("root.a [Ready]")
30 t1("root.b [Ready]")
31 t2("root.c [Ready]")
32 t3("root.d [Waiting]")
33 t3-->t0
34 t3-->t1
35 t3-->t2
36
37-- out/run/t1 --
38graph TD
39 t0("root.a [Running]")
40 t1("root.b [Running]")
41 t2("root.c [Terminated]")
42 t3("root.d [Waiting]")
43 t3-->t0
44 t3-->t1
45 t3-->t2
46
47-- out/run/t1/value --
48{
49 $id: "sequenced"
50 seq: 1
51 val: "baz"
52 out: "baz"
53}
54-- out/run/t2 --
55graph TD
56 t0("root.a [Terminated]")
57 t1("root.b [Running]")
58 t2("root.c [Terminated]")
59 t3("root.d [Waiting]")
60 t3-->t0
61 t3-->t1
62 t3-->t2
63
64-- out/run/t2/value --
65{
66 $id: "sequenced"
67 seq: 2
68 val: "foo"
69 out: "foo"
70}
71-- out/run/t3 --
72graph TD
73 t0("root.a [Terminated]")
74 t1("root.b [Terminated]")
75 t2("root.c [Terminated]")
76 t3("root.d [Ready]")
77 t3-->t0
78 t3-->t1
79 t3-->t2
80
81-- out/run/t3/value --
82{
83 $id: "sequenced"
84 seq: 3
85 val: "bar"
86 out: "bar"
87}
88-- out/run/t4 --
89graph TD
90 t0("root.a [Terminated]")
91 t1("root.b [Terminated]")
92 t2("root.c [Terminated]")
93 t3("root.d [Terminated]")
94 t3-->t0
95 t3-->t1
96 t3-->t2
97
98-- out/run/t4/value --
99{
100 $id: "valToOut"
101 out: "foobarbaz"
102}
103-- out/run/t1/stats --
104Leaks: 0
105Freed: 20
106Reused: 16
107Allocs: 4
108Retain: 0
109
110Unifications: 20
111Conjuncts: 28
112Disjuncts: 20
113-- out/run/t2/stats --
114Leaks: 0
115Freed: 20
116Reused: 20
117Allocs: 0
118Retain: 0
119
120Unifications: 20
121Conjuncts: 32
122Disjuncts: 20
123-- out/run/t3/stats --
124Leaks: 0
125Freed: 20
126Reused: 20
127Allocs: 0
128Retain: 0
129
130Unifications: 20
131Conjuncts: 32
132Disjuncts: 20
133-- out/run/t4/stats --
134Leaks: 0
135Freed: 0
136Reused: 0
137Allocs: 0
138Retain: 0
139
140Unifications: 0
141Conjuncts: 0
142Disjuncts: 0
143-- out/run/stats/totals --
144Leaks: 0
145Freed: 60
146Reused: 56
147Allocs: 4
148Retain: 0
149
150Unifications: 60
151Conjuncts: 92
152Disjuncts: 60
View as plain text