The Lua 5.1 superset programming language.
Goals: what we want
- embeds most idioms into the language (default args, named varargs, classes, etc)
- implements type checking and type inference
- implements a language server for LSP features (intellisense, goto def, etc)
- interoperate with Lua, both ways. Code written in Lunar should be as easy to use in Lua.
Lunar is written for Lua 5.1, therefore you need the Lua 5.1 runtime. On some installs of Lua, you might not have
./?/init.lua in your
LUA_PATH. Configure your system environment variables and append
Prerequisites for development
$ git clone https://github.com/lunarlang/lunar $ luarocks install busted $ cd ./lunar # the root folder, not the lunar source code folder.
To run tests and verify everything's in working order, just run
busted with the root directory of this repository as the current working directory.