pocketlang/docs/wasm
2022-04-04 08:47:15 +05:30
..
compile.py docs were fully refactored (#175) 2022-04-04 08:47:15 +05:30
io_api.js docs were fully refactored (#175) 2022-04-04 08:47:15 +05:30
main.c docs were fully refactored (#175) 2022-04-04 08:47:15 +05:30
README.md docs were fully refactored (#175) 2022-04-04 08:47:15 +05:30

To compile pocketlang to wasm:

  1. Download and install emscripten using the guide from. https://emscripten.org/docs/getting_started/downloads.html

  2. Add 'emsdk/' directory to the environment, this will need to call the emsdk_env from anywhere.

  3. Run command call emsdk_env.bat to initialize the emsdk env on windows, for other platform see emscripten docs.

  4. Run 'python compile.py' to run compile.