added destructuring assignments for tuples (and lists on the left)

This commit is contained in:
mark
2023-05-26 18:46:47 +02:00
parent 3f76e4f549
commit be9403d63d
4 changed files with 107 additions and 56 deletions

View File

@@ -0,0 +1,12 @@
x := "https:\//www.google.com"
x.debug()
[a, [b, c]] := [1, ["str", 12.5]]
println("---")
println(a.to_string() + " " + b + " " + c.to_string())
println("~~~")
// switch! run_command("curl", [x, ...]) {
// }