Files
mgmt/lang/interpret_test/TestAstFunc2/lexer-parser1.txtar
James Shubin f92f34dc54 lang: The in keyword can't be a variable name
At least for now until we figure out some fancier parser magic. (If
at all possible!)
2024-01-12 18:22:00 -05:00

11 lines
155 B
Plaintext

-- main.mcl --
$s = if 42 in [13, -5, 42, 0,] { # make sure the `in` operator works
"pass"
} else {
"fail"
}
test $s {}
-- OUTPUT --
Vertex: test[pass]