libwren-sys 0.1.0

FFI bindings for the wren embedded programming language
Documentation
1
2
3
4
5
6
7
8
9
10
11
// This mostly tests that lists handle growing and shrinking their memory.
var list = []
for (i in 0..200) {
  list.add(i)
}

for (i in 0..195) {
  list.removeAt(-1)
}

System.print(list) // expect: [0, 1, 2, 3, 4]