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
System.print([].isEmpty) // expect: true
System.print([1].isEmpty) // expect: false

class InfiniteSequence is Sequence {
  construct new() {}
  iterate(iterator) { true }
  iteratorValue(iterator) { iterator }
}

// Should not try to iterate the whole sequence.
System.print(InfiniteSequence.new().isEmpty) // expect: false