mirror of
https://github.com/leafo/moonscript.git
synced 2024-12-08 01:54:24 +00:00
88 lines
1.2 KiB
Lua
88 lines
1.2 KiB
Lua
do
|
|
a, b, c = 223, 343
|
|
cool = "dad"
|
|
end
|
|
do
|
|
do
|
|
local _class_0
|
|
local _base_0 = {
|
|
umm = "cool"
|
|
}
|
|
_base_0.__index = _base_0
|
|
_class_0 = setmetatable({
|
|
__init = function() end,
|
|
__base = _base_0,
|
|
__name = "Something"
|
|
}, {
|
|
__index = _base_0,
|
|
__call = function(cls, ...)
|
|
local _self_0 = setmetatable({}, _base_0)
|
|
cls.__init(_self_0, ...)
|
|
return _self_0
|
|
end
|
|
})
|
|
_base_0.__class = _class_0
|
|
Something = _class_0
|
|
end
|
|
end
|
|
do
|
|
local d
|
|
a, b, c, d = "hello"
|
|
end
|
|
do
|
|
local What
|
|
if this then
|
|
What = 232
|
|
else
|
|
What = 4343
|
|
end
|
|
local another = 3434
|
|
Another = 7890
|
|
if inner then
|
|
local Yeah = "10000"
|
|
end
|
|
if this then
|
|
What = 232
|
|
else
|
|
What = 4343
|
|
end
|
|
end
|
|
do
|
|
if this then
|
|
What = 232
|
|
else
|
|
What = 4343
|
|
end
|
|
x, y, z = 1, 2, 3
|
|
y = function()
|
|
local hallo = 3434
|
|
end
|
|
do
|
|
local j = 2000
|
|
end
|
|
end
|
|
do
|
|
x = 3434
|
|
if y then
|
|
x = 10
|
|
end
|
|
end
|
|
do
|
|
if y then
|
|
local x = 10
|
|
end
|
|
x = 3434
|
|
end
|
|
do
|
|
do
|
|
k = 1212
|
|
do
|
|
local h = 100
|
|
end
|
|
y = function()
|
|
local h = 100
|
|
k = 100
|
|
end
|
|
end
|
|
local h = 100
|
|
end |