Hello World

Your first Rain program: save a file and run it.

Rain programs live in .rn files. Statements end with a semicolon. Strings use double quotes.

If you installed via the release script, use rain. If you built from source in the repo, use ./rain.

Your first program

A one-line `.rn` file: save it and run with `rain`.

hello.rn
print "Hello, Rain!";
output
Hello, Rain!

Run it

Pass the file path to the `rain` command.

Run it
rain hello.rn
output
Hello, Rain!

Notes