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
fn test(flag, a, b) {
  if flag && ((a != 2) && (b != 3)) {
    print("test");
  }
}

test(false, 2, 3);
test(true, 2, 3);
test(true, 0, 3); 
test(true, 0, 0); // test
test(false, 0, 3);
test(false, 2, 3);