1 | Command Language |
2 | |
3 | [Commands] simple-command |
4 | ysh-prefix-binding |
5 | semicolon ; |
6 | [Redirects] ysh-here-str read <<< ''' |
7 | [YSH Simple] typed-arg json write (x) |
8 | lazy-expr-arg assert [42 === x] |
9 | block-arg cd /tmp { echo $PWD }; cd /tmp (; ; blockexpr) |
10 | [YSH Cond] ysh-case case (x) { *.py { echo 'python' } } |
11 | ysh-if if (x > 0) { echo } |
12 | [YSH Iter] ysh-for for i, item in (mylist) { echo } |
13 | ysh-while while (x > 0) { echo } |