nilang 0.4.1

A scripting language interpreter for Advent of Code
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
lucky_number = 42;
guess = 10;

print("guess the lucky number: ");

if guess == lucky_number {
  print("You got it!");
} else {
  if guess > lucky_number {
    print("too high!");
  } else {
    print("too low :(");
  }
}