I used this process to compile a WASM file for CLIPS. This allows me to run CLIPS in the browser! I use this for the Tour of CLIPS I created.
- Download and Install Emscripten
- Download the CLIPS source code
tar xvf clips_core_source_640.tar.gz
cd clips_core_source_640/core
patch makefile makefile.diff
make