complx in the browser
See the page here: http://wjohnson5.github.io/compjs/
WARNING: STILL IN PROGRESS
Where comp.js comes from:
-
Follow this guide to get emcc running: http://kripken.github.io/emscripten-site/docs/getting_started/index.html
-
Checkout complx - https://github.com/TricksterGuy/complx
-
Apply patch complx_patch.txt
-
Run:
make liblc3.so CC='emcc --bind'
emcc --bind liblc3/liblc3.so -O2 -o comp.js -s ALLOW_MEMORY_GROWTH=1
- comp.js and comp.js.mem should be output