hush 0.1.4

Hush is a unix shell scripting language based on the Lua programming language
1
2
3
4
5
6
7
8
9
let negation = not not not not not false
let negative = - - - 1
let equality = 1 == 2 and 2 != 3
let ord = 1 >= 2 or 3 <= 4 and 1 < 2 or 5 > 6
let concat = "hello" ++ " " ++ "world"
let arith = 1 + 2 - 3 * 4 / 5 % 6
let try = 1? + call()?

let expr = not true and [ nil, true, 0][1 * 1] == @[ fun: function (arg) return arg end ].fun(nil)