This adds some initial syntax for external edges to the language. There are still improvements which are necessary for send/recv.
15 lines
204 B
Plaintext
15 lines
204 B
Plaintext
file "/tmp/mgmt/foo" {
|
|
content => "hello from foo\n",
|
|
}
|
|
|
|
print "print0" {
|
|
}
|
|
|
|
File["/tmp/mgmt/foo"].content -> Print["print0"].msg
|
|
|
|
print "print1" {
|
|
msg => "hello",
|
|
}
|
|
|
|
Print["print0"] -> Print["print1"]
|