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
15
16
17
========= FILE ./src/runtime/tests/fixtures/string_negative_index/string_negative_index.ir.actual ========
MAIN () {
block0:
  s_0 = "hello"
  t3 = -1
  t5 = s_0[t3]
  PRINT t5
  t10 = -2
  t11 = s_0[t10]
  PRINT t11
  t16 = -5
  t17 = s_0[t16]
  PRINT t17
  t19 = null
  RETURN t19

}