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
13
14
15
16
17
18
var Nonlocal = "before"
System.print(Nonlocal) // expect: before
Nonlocal = "after"
System.print(Nonlocal) // expect: after

class Foo {
  static method {
    Nonlocal = "method"
  }
}

Foo.method
System.print(Nonlocal) // expect: method

Fn.new {
  Nonlocal = "fn"
}.call()
System.print(Nonlocal) // expect: fn