16 lines
451 B
Markdown
Raw Normal View History

i64 polyfill
============
2017-12-14 16:50:59 +01:00
An [AssemblyScript](http://assemblyscript.org) example. Exposes i64 operations to JS using 32-bit integers (low and high bits).
Instructions
------------
2017-12-14 12:30:58 +01:00
To build [assembly/i64.ts](./assembly/i64.ts) to an untouched and an optimized `.wasm` including their respective `.wast` representations, run:
```
$> npm run build
```
2017-12-14 12:30:58 +01:00
Afterwards, `require` the node module as usual (CommonJS entry point is [index.js](./index.js)).