nilang 0.4.1

A scripting language interpreter for Advent of Code
Documentation
========= FILE ./src/runtime/tests/fixtures/binding/binding.ir.actual ========
fn1 (a_0, b_0) {
block0:
  t2 = a_0 + b_0
  RETURN t2

}
fn2 (y_0) {
block0:
  LOAD_UPVAL x_0
  t2 = x_0 + y_0
  RETURN t2

}
MAIN () {
block0:
  add_0 = fn1
  t1 = 2
  BIND add_two_0 = add_0 < t1
  t4 = 1
  BIND get_three_0 = add_two_0 < t4
  closure_add_0 = fn2
  STORE_UPVAL closure_add_0, t4
  t10 = 3
  BIND bound_closure_0 = closure_add_0 < t10
  t13 = 0
  STORE_ARG t13
  STORE_ARG t4
  t15 = CALL add_0
  PRINT t15
  STORE_ARG t13
  t19 = CALL add_two_0
  PRINT t19
  t22 = CALL get_three_0
  PRINT t22
  t25 = CALL bound_closure_0
  PRINT t25
  t27 = null
  RETURN t27

}