Documentation
GitHubTwitter
  • overview
    • What is Lua++?
    • Why Lua++?
  • language improvements
    • Compound Assignments
    • Postfix and Prefix Operators
    • The Continue Statement
    • Constant Variables
    • Type Annotations
      • Function Annotations
    • Classes
      • Constructors
      • Templating
      • Inheritance
      • Encapsulation
    • Events
    • Macros
      • Lenient
      • Comment
      • C-Arrays
  • contributing
    • Installing the Project
Powered by GitBook
On this page

Was this helpful?

  1. contributing

Installing the Project

PreviousC-Arrays

Last updated 2 years ago

Was this helpful?

Just like any open-source software, we are open to contributors and would love to have some extra helping hands! This section will go over how to correctly install the Lua++ project so that you can become a contributor.

Step 1: Forking the Repository

The first and most important part of this process is forking your desired repository. There are a few steps to this process:

  1. On GitHub.com, navigate to the repository.

  2. In the top right corner of the page, click Fork.

  3. Once you have forked the repository, you need to clone the repo to your local machine so that you can add your changes. You can find the link to the repo after clicking the Code dropdown.

    Then run the clone command in your local environment: git clone <link>

Before you can get to contributing you need to install Lua++'s few dependencies. Instructions are listed below in the order of your operating system.

You need to install make, flex, and bison. To install them on a Linux machine run the following commands:

sudo apt update
sudo apt install flex
sudo apt install bison
sudo apt install make

Then you need to enter the main source folder and build the desired project (e.g. make interpreter). The binaries are stored in src/bin with luappc being the compiler, luappvm the VM, and luapp the interpreter.

Step 2: Creating a Pull Request
  1. To begin committing new changes to your fork, you need to first create a new branch. This can be done with the following command: git checkout -b new-user-contribution

  1. Once you have committed your changes to your new branch, you need to create a pull request.

Thank you for showing interest Lua++, we hope that we can get as much assistance from the community as possible. Happy coding!

luapp-org/luapp
The Fork button at the top right of the page
The Clone menu for the repo.
How to create a new pull request.