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.20220703-22 days ago3 downloads
0.7.20220501-166 days ago14 downloads
0.6.20220116-1170 days ago13 downloads
0.5.20211114-2234 days ago17 downloads
0.4.20210925-1283 days ago20 downloads
0.4.20210922-1286 days ago5 downloads
0.4.20210829-1310 days ago9 downloads
0.3.20210627-11 year ago16 downloads
0.0.3-202106191 year ago5 downloads
0.0.3-202106131 year ago6 downloads

Dependencies

lua >= 5.1

Dependency for

cincau

Manifests