19 lines
308 B
Plaintext
19 lines
308 B
Plaintext
-- main.mcl --
|
|
# nested resource and scoped var
|
|
if true {
|
|
test "t" {
|
|
int64ptr => $x,
|
|
}
|
|
$x = 42 + $i
|
|
}
|
|
$i = 13
|
|
-- OUTPUT --
|
|
Edge: FuncValue -> call # fn
|
|
Vertex: FuncValue
|
|
Vertex: call
|
|
Vertex: const: bool(true)
|
|
Vertex: const: int(13)
|
|
Vertex: const: int(42)
|
|
Vertex: const: str("+")
|
|
Vertex: const: str("t")
|