Quick start

The actual best way to start is to build and install Rock via cargo:

cargo install --git https://github.com/Champii/Rock --locked
rock -V

Then to create a new empty project folder

rock new my_project
cd my_project

The project folder should contain a src folder with a src/main.rk file that should look like this:

main: -> "Hello World !".print!

You can immediately build and run this default snippet with

rock run

This should output

Hello World !

The compiler has created a build folder containing your compiled executable build/a.out