wren_rust 0.1.3

Bindings to the Wren scripting language API
// Single expression body.
Fn.new { System.print("ok") }.call() // expect: ok

// Curly body.
Fn.new {
  System.print("ok") // expect: ok
}.call()

// Multiple statements.
Fn.new {
  System.print("1") // expect: 1
  System.print("2") // expect: 2
}.call()

// Extra newlines.
Fn.new {


  System.print("1") // expect: 1


  System.print("2") // expect: 2


}.call()