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
// Create a local scope for the 'then' expression.
var a = "out"
if (true) {
  var a = "in"
}
System.print(a) // expect: out

// Create a local scope for the 'else' expression.
var b = "out"
if (false) "dummy" else {
  var b = "in"
}
System.print(b) // expect: out