2018-05-06 01:32:58 +02:00

475 B

PSON decoder in WebAssembly

An AssemblyScript example. Decodes a PSON encoded buffer.

Instructions

To build assembly/pson.ts to an untouched and an optimized .wasm including their respective .wat representations, run:

$> npm run asbuild

Afterwards, to run the included test:

$> npm install
$> npm test