Debian Codegraph @

lang/interpret_test/TestAstFunc3/sendrecv-simple2.txtar

raw
1 -- main.mcl --
2 # send/recv of value1.any into test.msg works!
3 value "value1" {
4 any => "i am value1",
5 }
6 print "print1" {
7 #msg => "", # gets value from send_value above
8 }
9 Value["value1"].any -> Print["print1"].msg
10 -- OUTPUT --
11 Edge: value[value1] -> print[print1] # value[value1] -> print[print1]
12 Field: print[print1].Msg = "i am value1"
13 Field: value[value1].Any = "i am value1"
14 Vertex: print[print1]
15 Vertex: value[value1]