hush 0.1.1

Hush is a unix shell scripting language based on the Lua programming language
function oops(ill)
	if ill then
		std.error("something went wrong", nil)
	else
		@[
			message: "it works!",
			value: 0
		]
	end
end


function foo()
	let first = oops(false)?.message
	std.assert(std.type(first) == "string")

	let second = oops(true)?
	std.assert(false)
end


let result = foo()
std.assert(std.type(result) == "error")