wren.js

The wren programming language in your browser!
Source:

Example

import * as Wren from "../out/wren.js";

let vm = new Wren.VM({
  resolveModuleFn     : function(importer, name) {...},
  loadModuleFn        : function(name) {...},
  bindForeignMethodFn : function(moduleName, className, isStatic, signature) {...},
  bindForeignClassFn  : function(moduleName, className) {...},
  writeFn             : function(toLog) {...},
  errorFn             : function(errorType, moduleName, line, msg) {...}
});

vm.interpret("main", `
  System.print("Hello from Wren!")
`);