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
12
class Test {
  static run() {
    var root = Fiber.current
    System.print("begin root") // expect: begin root

    Fiber.new {
      System.print("in new fiber") // expect: in new fiber
      root.call() // expect runtime error: Cannot call root fiber.
      System.print("called root")
    }.transfer()
  }
}