lang: Add edges to lexer and parser
This adds some initial syntax for external edges to the language. There are still improvements which are necessary for send/recv.
This commit is contained in:
9
examples/lang/sendrecv0.mcl
Normal file
9
examples/lang/sendrecv0.mcl
Normal file
@@ -0,0 +1,9 @@
|
||||
exec "exec0" {
|
||||
cmd => "echo hello world && echo goodbye world 1>&2", # to stdout && stderr
|
||||
shell => "/bin/bash",
|
||||
}
|
||||
|
||||
print "print0" {
|
||||
}
|
||||
|
||||
Exec["exec0"].output -> Print["print0"].msg
|
||||
Reference in New Issue
Block a user