Home

Awesome

<div align="center"> <img src="https://i.imgur.com/8fH3GcD.png"/>

Lunar

Build Status Coverage Status Discord Server

The Lua 5.1 superset programming language.

Check out the language documentation and examples which contains information about Lunar's syntax and semantics.

</div>

THIS PROJECT IS NOW ABANDONED IN FAVOR OF ROBLOX'S TYPED LUA. Maybe it will be picked up in the future again, but the main motivation drive is gone now.

Goals: what we want

Roadmap

These are the general idea of what we want to implement for Lunar. It does not cover everything in detail, and it's not strictly in any particular order.

Getting Started

Lunar is written for Lua 5.1, therefore you need the Lua 5.1 runtime. On some installs of Lua, you might not have ./?.lua and ./?/init.lua in your LUA_PATH. Configure your system environment variables and append ;./?.lua;./?/init.lua into LUA_PATH.

Installing from Source

Currently this is required as we do not have precompiled binaries to install Lunar for you.

What you need

If you are working on Lunar itself, you need busted, which can be installed through luarocks install busted

Downloading the Source

From the command line, which is Command Prompt or Powershell for Windows, and Terminal for Linux.

Alternatively, you can download the source as a zipped file. In the top right of this page, you can find a green button, click that and below that should be a Download ZIP button.

Installing

Reinstalling and Uninstalling

We've included a way to reinstall and uninstall Lunar. Follow the Installing steps, and then you should be prompted to press R to reinstall, or U to uninstall.

To update Lunar, you can use git pull from the downloaded git repository from when you originally installed Lunar, and then follow the Installing steps, using R to reinstall.

Setting up your project

include = { "src" }
out_dir = "out"

Common issues

If you did all of the above correctly, you should be able to compile your projects with lunarc.