Page cover

πŸ’‘How To Use Maryl

This quickstart guide will help you get up and running with Maryl

Step 1: Install a Maryl

You can install Maryl in the following way :

git clone git@github.com:MartinFillon/glados.git
cd glados/maryl
make

Step 2: Write Your First Program

Create a new file named add.mrl and open it in your favorite text editor. Write the following code:

int add1(int a, int b){
    return a + b;
}

int start(){
    int a = 2;
    int y = 6;
    return add1(y, 2);
}

Step 3: Run the Program

Open a terminal and navigate to the directory where you saved add.mrl. Compile the program using glados:

Run the executable to see the output

Step 4: Experiment with Variables

Create a new file to include variables and if :

run the program again to see the output.

Step 5: Learn More

Explore more features of Maryl by reading tutorials and documentation. Practice writing different programs to strengthen your understanding.

By following this quickstart guide, you should be able to write, compile, and run basic Maryl programs. Happy coding!

Last updated