16 lines
271 B
Plaintext
16 lines
271 B
Plaintext
-- main.mcl --
|
|
import "fmt"
|
|
|
|
$s = "world"
|
|
|
|
test "greeting" {
|
|
anotherstr => fmt.printf("hello: %s", $s),
|
|
}
|
|
-- OUTPUT --
|
|
Edge: FuncValue -> call # fn
|
|
Vertex: FuncValue
|
|
Vertex: call
|
|
Vertex: const: str("greeting")
|
|
Vertex: const: str("hello: %s")
|
|
Vertex: const: str("world")
|