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
print(#fn() {});
print(#fn(a) {});
print(#fn(a, b) {});
print(#fn(a, b, c) {});

// make sure it works on a closure too
x = 123;
print(#fn(a, b, c, d) { print(x); });


// make sure it works on a partial too
f = fn(a, b, c, d, e, f) {};
f = bind(f, null);
print(#f);