mirror of
https://github.com/leafo/moonscript.git
synced 2024-12-24 01:04:21 +00:00
88 lines
1.4 KiB
Lua
88 lines
1.4 KiB
Lua
local a
|
|
a = function()
|
|
do
|
|
local _with_0 = something
|
|
print(_with_0.hello)
|
|
print(hi)
|
|
print("world")
|
|
return _with_0
|
|
end
|
|
end
|
|
do
|
|
local _with_0 = leaf
|
|
_with_0.world()
|
|
_with_0.world(1, 2, 3)
|
|
local g = _with_0.what.is.this
|
|
_with_0.hi(1, 2, 3)
|
|
_with_0:hi(1, 2).world(2323)
|
|
_with_0:hi("yeah", "man")
|
|
_with_0.world = 200
|
|
end
|
|
local zyzyzy
|
|
do
|
|
local _with_0 = something
|
|
_with_0.set_state("hello world")
|
|
zyzyzy = _with_0
|
|
end
|
|
local x = 5 + (function()
|
|
do
|
|
local _with_0 = Something()
|
|
_with_0:write("hello world")
|
|
return _with_0
|
|
end
|
|
end)()
|
|
x = {
|
|
hello = (function()
|
|
do
|
|
local _with_0 = yeah
|
|
_with_0:okay()
|
|
return _with_0
|
|
end
|
|
end)()
|
|
}
|
|
do
|
|
local _with_0 = foo
|
|
local _ = _with_0:prop("something").hello
|
|
_with_0.prop:send(one)
|
|
_with_0.prop:send(one)
|
|
end
|
|
do
|
|
local _with_0 = a, b
|
|
print(_with_0.world)
|
|
end
|
|
local mod
|
|
do
|
|
local _with_0 = { }
|
|
local _M = _with_0
|
|
_with_0.Thing = "hi"
|
|
mod = _with_0
|
|
end
|
|
do
|
|
local _with_0 = something
|
|
local b
|
|
a, b = _with_0, pooh
|
|
print(_with_0.world)
|
|
end
|
|
do
|
|
local _with_0 = 1
|
|
local b
|
|
a, b = _with_0, 2
|
|
print(a + b)
|
|
x = _with_0
|
|
end
|
|
print((function()
|
|
do
|
|
local _with_0 = 1
|
|
local b
|
|
a, b = _with_0, 2
|
|
print(a + b)
|
|
return _with_0
|
|
end
|
|
end)())
|
|
local p
|
|
do
|
|
local _with_0 = 1
|
|
hello().x, world().y = _with_0, 2
|
|
print(a + b)
|
|
p = _with_0
|
|
end |