shelly-shell 0.5.2

A Rust based Unix style shell with a typed and structured language syntax.
1
2
3
4
5
# Bound methods retain receivers across scope and input changes
check_repl ["id": "R059",
    "name": "Bound methods retain receivers across scope and input changes",
    "steps": [["let \$a = [3, 1]", "quiet", ""], ["let \$sort = `\$a.sort", "quiet", ""], ["\$a[0] = 0", "quiet", ""], ["echo (\$sort)...; echo \$a.sort...", "output", "0 1\n0 1"], ["let \$zip = `\$a.zip", "quiet", ""], ["let \$a = [9]", "quiet", ""], ["let \$pairs = \$zip [4, 5]", "quiet", ""], ["echo \$pairs...", "output", "0:4 1:5"], ["\$sort 1", "error", ""], ["echo (\$sort)...", "output", "0 1"]],
    "exit": 0]