14 lines
270 B
Plaintext
14 lines
270 B
Plaintext
-- main.mcl --
|
|
$st0 struct{x str} = struct{x => "hello",}
|
|
test $st0->x {}
|
|
|
|
$st1 = struct{y => "world",}
|
|
test $st1->y {}
|
|
|
|
$st2 = struct{x => true, y=> 42, z => "hello world",}
|
|
test $st2->z {}
|
|
-- OUTPUT --
|
|
Vertex: test[hello world]
|
|
Vertex: test[hello]
|
|
Vertex: test[world]
|