Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Latest commit

History

History

README.md

Compiler

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
});