Skip to content

0.5.0 – Automatic glue code generation

Compare
Choose a tag to compare
@liquidev liquidev released this 04 Dec 21:12
· 88 commits to master since this release
  • Any classes and procedures bound by foreign() will now have glue code generated automatically
  • module calls in foreign() have been removed and replaced with string literals. Example:
    wren.foreign("module"):
      Greeter:
        genGreeting
      """
        class GreeterUtils {
          static greet(target) {
            System.print(Greeter.genGreeting(target))
          }
        }
      """
    It's not possible to add code into classes just yet, this will be fixed in the next version.