Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 490 Bytes

File metadata and controls

19 lines (14 loc) · 490 Bytes

Portable compiler sources that compile to both JavaScript using tsc and, eventually, WebAssembly using asc.

Architecture

Usage

Note that using the compiler as a library requires awaiting Binaryen ready state, like so:

const binaryen = require("binaryen");
const assemblyscript = require("assemblyscript");
binaryen.ready.then(() => {
  // do something with assemblyscript
});