hush 0.1.2

Hush is a unix shell scripting language based on the Lua programming language
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function fun()
	let x = 0

	let fun = function()
		let fun = function()
			return x
		end

		x = 2
		return fun
	end

	x = 1
	return fun
end

std.assert(fun()()() == 2)