Files
mgmt/lang/interpret_test/TestAstFunc1/graph7.txtar
James Shubin 28f5b8331a lang: funcs: structs: Improve naming
These could print nicer for debugging.
2024-12-08 16:24:42 -05:00

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")