Skip to content

Latest commit

 

History

History

examples

rust-wren examples

Feature Samples

  • basic Basic usage example of setting up a default VM, interpreting a script and calling a Wren function from Rust code.
  • iterator Implementing the Wren iterator protocol from a Rust foreign class.
  • list Usage of lists. Creating a list in Wren, passing it to Rust. Creating a list from Rust, passing it to a Wren method.
  • mandelbrot The mandelbrot example from the Wren repository.

Known Issues

  • issue_construct Demonstration of the issue where a foreign class' constructor is not called when creating the instance from Rust.