Installation

Get up and run the Ry interpreter.

Building from Source

Currently, the primary way to install Ry is by building it directly from the source code. This ensures you have the latest version and allows for customization.

Tools Needed

Before you begin, make sure you have the following installed:

Clone the Repository

First, clone the official Ry2 repository from GitHub to your local machine.

$ git clone https://github.com/johnryzon123/Ry2.git
$ cd Ry2
          

Configure and Build

Next, use the build script to generate the build files for your system and then compile the project.

$ ./scripts/build.sh

Install System-Wide (Optional but Recommended)

After a successful build, you can install the ry executable to a system-wide directory to make it accessible from anywhere in your terminal.

sudo ./scripts/install.sh

Next Steps

That's it! You should now have a working ry executable. Let's move on to writing your first program.

Next: Your First Program!