mirror of
https://github.com/zekexiao/pocketlang.git
synced 2025-02-05 20:26:53 +08:00
420 B
420 B
To compile pocketlang to wasm:
-
Download and install emscripten using the guide from. https://emscripten.org/docs/getting_started/downloads.html
-
Add 'emsdk/' directory to the environment, this will need to call the emsdk_env from anywhere.
-
Run command
call emsdk_env.bat
to initialize the emsdk env on windows, for other platform see emscripten docs. -
Run 'python compile.py' to run compile.