mirror of
https://github.com/leafo/moonscript.git
synced 2024-10-05 05:34:19 +00:00
29 lines
717 B
Lua
29 lines
717 B
Lua
local x = function() print(what) end
|
|
function() end
|
|
function() function() function() end end end
|
|
go(to(the(barn)))
|
|
open(function() the(function() door end) end)
|
|
open(function()
|
|
the(door)
|
|
local hello = function() my(func) end
|
|
end)
|
|
local h = function() hi end
|
|
eat(function() end, world)
|
|
local a = 1 + 2 * 3 / 6
|
|
a = another
|
|
local bunch, go, here = world
|
|
func(arg1, arg2, another, arg3)
|
|
here = function() end
|
|
local we = yeah
|
|
local the, different = function() approach end, yeah
|
|
dad()
|
|
dad(lord)
|
|
hello(one, two)()
|
|
(5 + 5)(world)
|
|
fun(a)(b)
|
|
fun(a)(b)
|
|
fun(a)(b, bad(hello))
|
|
hello(world(what(are(you(doing(here))))))
|
|
what(the)[3243](world, yeck(heck))
|
|
hairy[hands][are](gross)(okay(okay[world]))
|
|
(get[something] + 5)[years] |