mooncake

MoonCake is Swift like programming language compiles to Lua

$ luarocks install mooncake

MoonCake is Swift like programming language compiles to Lua

provide vscode extension with LSP support, you can install pre-build .vsix from

- https://github.com/lalawue/MoocHelper/releases
- https://gitee.com/lalawue/MoocHelper/releases

with differences from Lua

- variable default local scope
- support guard keyword
- support switch keyword
- support continue keyword
- support defer keyword in function scope
- support create class / struct
- support extension class / struct
- support import keyword
- support anonymous function form '{ in }' likes in Swift
- support expression in string like print("5 + 3 = \(5 + 3)")

also support project compile output to Lua first, without any outer dependency.

Versions

0.7.20220501-118 days ago11 downloads
0.6.20220116-1123 days ago12 downloads
0.5.20211114-2186 days ago16 downloads
0.4.20210925-1236 days ago19 downloads
0.4.20210922-1239 days ago4 downloads
0.4.20210829-1263 days ago8 downloads
0.3.20210627-1326 days ago15 downloads
0.0.3-20210619334 days ago4 downloads
0.0.3-20210613339 days ago5 downloads

Dependencies

lua >= 5.1

Dependency for

cincau

Manifests