libwren-sys 0.1.0

FFI bindings for the wren embedded programming language
Documentation
1
2
3
4
5
6
7
8
class Foo {
  construct new() {}
  getClosure { Fn.new { Fn.new { Fn.new { toString } } } }
  toString { "Foo" }
}

var closure = Foo.new().getClosure
System.print(closure.call().call().call()) // expect: Foo