LIL is a Language Make games, nicely

Downloading and installing the LIL Compiler

This guide will take you through the steps necessary to set up your computer so that you can start programming with the LIL language.

WARNING: Right now it only runs on MacOS and iOS. Windows, Linux and Android versions are planned.

System Requirements: MacOS 11 or newer

Normal installation

  1. Go to https://lil-language.com/ and click the big yellow button.
  2. Go to your downloads folder and extract the ZIP file.
  3. Copy the files somewhere you like. It doesn't matter where, but they must all be in the same directory.
  4. (Optional) Add the directory to your PATH so you can more easily invoke the compiler.

    How to change your PATH

  5. Check what version you are using: lil --version
  6. Usage: lil myFile.lil --run

Building from source files (optional)

If you want to contribute the best thing to do is to build everything from source. It takes a while, though, be prepared.

Warning: WORK IN PROGRESS

This is how I've been doing it so far, which is far from ideal, and only on Mac

  1. Build LLVM. Warning: this might take hours.
  2. Download the LIL sources from GitHub
  3. Create a new Xcode project. Choose Command Line Tool as the project type.
  4. Add all source files to the project
  5. Add all folders as "Search Header Paths"
  6. Add the LLVM static libraries to link to them
  7. Hit build
  8. (Optional) Configure arguments to be passed at launch so you can use Build & Run. This is done by editing the scheme in Xcode: Product -> Scheme -> Edit Scheme...