2011/asyn11: alt.act

File alt.act, 277 bytes (added by rajit, 7 years ago)
Line 
1import "std.act";
2
3defproc toplevel(globals g; e1of2 out)
4{
5  invert inv;
6  init_token<true> init;
7  copy2 c;
8
9  inv.g = g;
10  init.g = g;
11  c.g = g;
12
13  inv.out = c.in;
14  c.out[0] = init.in;
15  init.out = inv.in;
16
17  sink s;
18  s.g = g;
19  s.in = c.out[1] = out;
20}
21
22toplevel t(g,);