nilang 0.4.1

A scripting language interpreter for Advent of Code
Documentation
========= FILE ./src/runtime/tests/fixtures/patch_with_closure/patch_with_closure.ir.actual ========
fn1 (self_0) {
block0:
  LOAD_UPVAL multiplier_0
  t2 = self_0 * multiplier_0
  RETURN t2

}
MAIN () {
block0:
  multiplier_0 = 10
  t2 = #int
  t3 = #scale
  t4 = fn1
  STORE_UPVAL t4, multiplier_0
  patch_0 = #patch
  STORE_ARG t2
  STORE_ARG t3
  STORE_ARG t4
  t6 = CALL patch_0
  value_0 = 1
  t10 = value_0[t3]
  t11 = CALL t10
  PRINT t11
  value_1 = 2
  t16 = value_1[t3]
  t17 = CALL t16
  PRINT t17
  t19 = null
  RETURN t19

}